Skip to content

Instantly share code, notes, and snippets.

View ppfeister's full-sized avatar
🖥️
Breaking things

Paul Pfeister ppfeister

🖥️
Breaking things
View GitHub Profile
import requests
import re
import sys
from multiprocessing.dummy import Pool
def robots(host):
r = requests.get(
'https://web.archive.org/cdx/search/cdx\
?url=%s/robots.txt&output=json&fl=timestamp,original&filter=statuscode:200&collapse=digest' % host)