summary refs log tree commit diff
path: root/README
blob: fe0c47228be5ecd97d0dab791c7af1618358f480 (plain)
1
2
3
4
5
6
7
8
code is formatted with "black"
#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)