This file contains hidden or 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
from requests import get | |
from bs4 import BeautifulSoup | |
from sys import argv, stdout | |
from time import time | |
from shutil import get_terminal_size | |
strip = lambda str: str[:min(str.find('?'), str.find('/'))] if '?' in str or '/' in str else str | |
def download(id, title): | |
try: |
OlderNewer