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 | |
| from bs4 import BeautifulSoup | |
| import urllib.request | |
| import os.path | |
| import sys | |
| def get_contents_plain(html): | |
| soup = BeautifulSoup(html) |
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 | |
| from os.path import basename | |
| import argparse | |
| import json | |
| import os | |
| import sys | |
| import urllib.parse | |
| import urllib.request | |
| if sys.stdout.isatty(): |
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 | |
| from datetime import datetime | |
| from os.path import basename | |
| import struct | |
| import sys | |
| format_toxic = False | |
| datestamp = "%Y/%m/%d" | |
| timestamp = "%X" |
NewerOlder