Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Python API: how to --force-ipv4 #13150
Comments
|
Since the link above no longer shows the relevant line, the option to do this is Example usage if your server's public IPv4 address is with youtube_dl.YoutubeDL({"source_address": "1.1.1.1"}) as ydl:
ydl.download(["https://www.youtube.com/watch?v=eZqrGXgHHV4"]) |
Hi there, love your work, thank you a lot for your time.
I can't find the Python version of option
--force-ipv4anywhere.Also I can't find much documentation on the Python API in general.
Is this implemented in the Python API?
If not, where should I start to add it?
Thanks