I hereby claim:
- I am izackwu on github.
- I am zackwu (https://keybase.io/zackwu) on keybase.
- I have a public key whose fingerprint is A728 FF5A 25FE 01F2 8B28 A44F 8036 957A 3C29 20ED
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| """Scrape complete results of Gold Coast Marathon 2024 (42KM). | |
| Usage: | |
| python scrape_gold_coast_marathon.py [--url URL] [--output OUTPUT] [--delay DELAY] [--max-pages N] | |
| Requirements: | |
| requests, beautifulsoup4 | |
| """ | |
| import argparse |
| weekly.caixin.com##.xiangguan | |
| weekly.caixin.com##.f_ri | |
| weekly.caixin.com##.weixinmedia | |
| weekly.caixin.com##.rssBox | |
| weekly.caixin.com##.funcri01 | |
| weekly.caixin.com##.fenxiangRig | |
| weekly.caixin.com##.conri | |
| weekly.caixin.com##.fenghui_code | |
| weekly.caixin.com##.multimedia | |
| weekly.caixin.com##.copyright |
I hereby claim:
To claim this, I am signing this object:
| { | |
| email [email protected] | |
| } | |
| reader.imwzk.com { | |
| encode zstd gzip | |
| reverse_proxy miniflux:8080 | |
| } | |
| rsshub.imwzk.com { |
| TeX 1 hr 9 mins βββββββββββββββββββββ 100.0% | |
| XML 0 secs βββββββββββββββββββββ 0.0% |
| import chardet | |
| import sys | |
| def convert_to_utf8(raw_content, encoding=None): | |
| encoding = encoding or chardet.detect(raw_content)["encoding"] | |
| try: | |
| return raw_content.decode(encoding) | |
| except UnicodeDecodeError: | |
| print("\tFailed to decode with {} encoding".format(encoding)) |