Skip to content

Instantly share code, notes, and snippets.

Avatar

Matthieu Sarter MatthieuSarter

  • Self employed
  • Grenoble, France
View GitHub Profile
@MatthieuSarter
MatthieuSarter / packt_books.py
Last active Mar 7, 2017 — forked from kspeeckaert/packt_books.py
PacktPub e-books downloader
View packt_books.py
#!/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 = ""