This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# pearltress export HTML sauvegarde | |
import re | |
import random | |
from urllib.parse import unquote | |
RE_FOLDER = re.compile('<H3 FOLDED ADD_DATE="[^"]*">([^<]*)<\/H3>') | |
RE_LINK = re.compile('HREF="([^"]*)"') | |
RE_NAME = re.compile('filename="([^"]*)"') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import requests | |
import urllib3 | |
import json | |
import re | |
from types import SimpleNamespace as Namespace | |
from feedgen.feed import FeedGenerator | |
output = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf8 -*- | |
# SMSBackupRestore extractor | |
# | |
# smsbackuprestore-extractor.py | |
# 24/11/2014 | |
# | |
# This script will extract all images and videos retrieved | |
# from a xml backup of the Android application "SMS Backup & Restore". |