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 :
Bienvenue sur le site de "Services Paysages du Frontonnais" |
#!/usr/bin/env python3 | |
''' | |
Fetch and decode the links from a subreddit when they are encoded in base64 (until 3 pass) | |
Installation: | |
You need python 3.8 installed | |
Save the pastebin as a file i.e "redscrape.py" and open a terminal where the file is located | |
> python3 -m venv . # On Mac |
CALISHOT is a specialised search engine to unearth books on open calibre servers.
It allows you to search ebooks in full text across them or to browse the database by facets: authors, language, year, series, tags ... You can even run your own queries in SQL.
These servers are often up and down so, for now, the data are regularly updated and new snasphots are posted on ...
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): |
#!/usr/bin/env python3 | |
''' | |
calisuck: index, filter-out smartly and download ebooks from Calibre open directories | |
Installation: | |
You need python 3.5 installed | |
Download the file as a zip and unzip-it and get into the dir |
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)
import requests | |
import json | |
import os | |
import humanfriendly | |
server='http://207.244.104.206:8080/' | |
max_size=0 | |
#max_size=10*1024*1024 | |
import requests | |
import json | |
import os | |
import time | |
# - traiter les formats en stockant le hash du fichier | |
# - capturer les exceptions | |
# - mettre un cli | |
# - autoriser 3 modes: update metadata, update file et append filename | |
# - une query pou la recheche exemple http://localhost:8080/ajax/search?sort=id&sort_order=desc |