summary refs log tree commit diff
path: root/README
blob: fa6f089db4c9c5575b78a1c18cb59442fb3de09b (plain)
1
2
3
4
5
6
7
8
code is formatted with "black --line-length=120"
#remember to install the libraries, and you probably should use venvs anyway
pip --require-venv install -r requirements.txt

for youtube, there's several options, but for just getting a title, you'll want to use youtube_oembed.py
scraping youtube may or may not work based on your IP and stuff (it should mostly work on home IPs, but tends to get blocked from servers), using curl_ffi to spoof TLS fingerprint may help slightly, I don't handle the POT token stuff yet

URLget.py is an abstraction that either uses python's builtin urllib.request or, if you have it available, then curl_cffi (which can spoof TLS fingerprinting, though that likely has minimal effect)