Skip to content

Instantly share code, notes, and snippets.

View wtznc's full-sized avatar
💭
I may be slow to respond.

Wojciech Tyziniec wtznc

💭
I may be slow to respond.
  • base64
  • dy50eXppbmllY0BpY2xvdWQuY29t
  • 23:50 (UTC +02:00)
  • LinkedIn in/wtznc
View GitHub Profile
@wtznc
wtznc / hinton.py
Last active July 13, 2019 18:52
Web scraper for Geoffrey Hinton's publications (all PDFs +- 250MB)
import requests
import urllib.request
import time
from bs4 import BeautifulSoup
URL = "http://www.cs.toronto.edu/~hinton/papers.html"
response = requests.get(URL)
if(response.status_code == 200):
print("Correctly downloaded website\nExtracting source code...")
src = response.text