If you have a dynamic IP, use megabasterd for mega links. Reset your ip once hit the limit and it will resume the download where you left off.
An easy way to reset your dynamic ip is to turn off your router, wait 30s and turn it back on.
As for Google drive links, there are several ways to bypass limits. First method is to login to an account. This will solve the issue for more than half the time. If that doesn't work, there's another method but it's detailed well in another thread and I don't remember all the steps.