Skip to content

Instantly share code, notes, and snippets.

View MatthieuSarter's full-sized avatar

Matthieu Sarter MatthieuSarter

  • Self employed
  • Grenoble, France
View GitHub Profile
@MatthieuSarter
MatthieuSarter / packt_books.py
Last active March 7, 2017 18:50 — forked from kspeeckaert/packt_books.py
PacktPub e-books downloader
#!/usr/bin/python3
# https://gist.github.com/kspeeckaert/9d8bec27692432772913
# bs4, lxml, pathlib
from pathlib import Path
import logging
import re
import requests
from bs4 import BeautifulSoup
username = ""