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)