Since youtube_dl has disappeared, and some programs still depend on
the feature offered, make use of the youtube_dlc alternative that was recently
added to the ports framework.
www/py-pafy will require some care:
Traceback (most recent call last): File "/wrkdirs/usr/ports/www/py-pafy/work-py38/pafy-0.5.5/pafy/pafy.py", line 51, in <module> import youtube_dl ModuleNotFoundError: No module named 'youtube_dl' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 13, in <module> from pafy import __version__ File "/wrkdirs/usr/ports/www/py-pafy/work-py38/pafy-0.5.5/pafy/__init__.py", line 7, in <module> from .pafy import new File "/wrkdirs/usr/ports/www/py-pafy/work-py38/pafy-0.5.5/pafy/pafy.py", line 54, in <module> raise ImportError( ImportError: pafy: youtube-dl not found; you can use the internal backend by setting the environmental variable PAFY_BACKEND to "internal". It is not enabled by default because it is not as well maintained as the youtube-dl backend. *** Error code 1
Oh, I see. Yeah, I definitely don't know enough about python to fix pafy then.
I wasn't aware youtube-dl was still active, so I guess it's an open question whether anything should even be moved around or not.
Second youtube-dl is not dead, they just made a release downloadable at https://youtube-dl.org/
And youtube-dl is back