(url)
| 390 | return url.replace("www.","").replace("dropbox.com","dl.dropboxusercontent.com").replace("?dl=0","") |
| 391 | |
| 392 | def zippyshare(url): |
| 393 | resp = requests.get(url).text |
| 394 | surl = resp.split("document.getElementById('dlbutton').href = ")[1].split(";")[0] |
| 395 | parts = surl.split("(")[1].split(")")[0].split(" ") |
| 396 | val = str(int(parts[0]) % int(parts[2]) + int(parts[4]) % int(parts[6])) |
| 397 | surl = surl.split('"') |
| 398 | burl = url.split("zippyshare.com")[0] |
| 399 | furl = burl + "zippyshare.com" + surl[1] + val + surl[-2] |
| 400 | print(furl) |
| 401 | |
| 402 | def megaup(url): |
| 403 | api = "https://api.emilyx.in/api" |
no outgoing calls
no test coverage detected