This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function checkForAdBlocker() { | |
let Blocked; | |
async function Request() { | |
try { | |
return fetch( | |
new Request( | |
"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", { | |
method: 'HEAD', | |
mode: 'no-cors' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Plowshare uptobox.com module | |
# Copyright (c) 2012-2017 Plowshare team | |
# | |
# This file is part of Plowshare. | |
# | |
# Plowshare is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os.path | |
from urllib.request import urlopen | |
import requests | |
from tqdm import tqdm | |
def download_from_url(url, dst): | |
""" | |
@param: url to download file | |
@param: dst place to put the file |