Skip to content

Instantly share code, notes, and snippets.

@Krazybug
Krazybug / opendir.md
Created October 15, 2022 18:54 — forked from jermspeaks/opendir.md
Manually Searching OpenDirectories on Google

Manually Searching OpenDirectories on Google

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 :

@Krazybug
Krazybug / download.py
Last active July 28, 2019 18:17 — forked from wy193777/download.py
Download file through HTTP using requests.py and tqdm
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):
@Krazybug
Krazybug / README.md
Created August 29, 2018 09:15 — forked from santiagobasulto/README.md
Download HumbleBundle books in batch with a simple Python script.

Download HumbleBundle books

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)