For videos/movies/tvshows :
intext:\"Search Term\" intitle:\"index.of\" +(wmv|mpg|avi|mp4|mkv|mov) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)
Images :
import requests | |
from tqdm import tqdm | |
def download_from_url(url, dst): | |
""" | |
@param: url to download file | |
@param: dst place to put the file | |
""" | |
file_size = int(urlopen(url).info().get('Content-Length', -1)) | |
if os.path.exists(dst): |
This is a quick Python script I wrote to download HumbleBundle books in batch. I bought the amazing Machine Learning by O'Reilly bundle. There were 15 books to download, with 3 different file formats per book. So I scratched a quick script to download all of them in batch.
(Final Result: books downloaded)