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 = ""
@MatthieuSarter
MatthieuSarter / pwnedpasscheck.py
Last active February 1, 2019 18:26
This software checks a list of plain text passwords against the leaked password database built by Troy Hunt.
#!/usr/bin/python3
# +---------------------------------------------------------------+
# | pwnedpasscheck |
# +---------------------------------------------------------------+
# | Copyright (C) Matthieu SARTER |
# +---------------------------------------------------------------+
#
# This software is governed by the CeCILL-B license under French law and
# abiding by the rules of distribution of free software. You can use,
# modify and/or redistribute the software under the terms of the
@MatthieuSarter
MatthieuSarter / dubuisson-7sur7.py
Last active March 2, 2021 00:30
"Marc Dubuisson croque l’actu" en RSS
#!/usr/bin/python3
# $Id: dubuisson-7sur7.py 521 2020-03-08 21:03:51Z sarterm $
# Dependencies : bs4, lxml, requests
import logging
from bs4 import BeautifulSoup
import re
import requests
url = "https://www.7sur7.be/extra/marc-dubuisson-croque-l-actu~a7839cb5/"