Package Details: youtube-dlc 2020.11.11_3-2

Git Clone URL: https://aur.archlinux.org/youtube-dlc.git (read-only, click to copy)
Package Base: youtube-dlc
Description: Fork of youtube-dl - download videos from youtube.com or other video platforms
Upstream URL: https://github.com/blackjack4494/yt-dlc
Keywords: download player streaming video youtube
Licenses: custom
Submitter: vixfwis
Maintainer: vixfwis
Last Packager: vixfwis
Votes: 23
Popularity: 0.88
First Submitted: 2020-10-25 08:14
Last Updated: 2020-11-26 17:10

Latest Comments

crabvk commented on 2021-04-01 21:05

Use youtube-dlp ;)

P.S. oh my, what a great song!

dreieck commented on 2021-04-01 18:57

I get a another error to that what @drwho reported on 2020-12-06:

youtube-dlc 'https://www.youtube.com/watch?v=4WJWKQA5DOk'

[youtube] 4WJWKQA5DOk: Downloading webpage
Traceback (most recent call last):
  File "/sbin/youtube-dlc", line 33, in <module>
    sys.exit(load_entry_point('youtube-dlc==2020.11.11.post2', 'console_scripts', 'youtube-dlc')())
  File "/usr/lib/python3.9/site-packages/youtube_dlc/__init__.py", line 487, in main
    _real_main(argv)
  File "/usr/lib/python3.9/site-packages/youtube_dlc/__init__.py", line 477, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.9/site-packages/youtube_dlc/YoutubeDL.py", line 2103, in download
    res = self.extract_info(
  File "/usr/lib/python3.9/site-packages/youtube_dlc/YoutubeDL.py", line 830, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.9/site-packages/youtube_dlc/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.9/site-packages/youtube_dlc/extractor/youtube.py", line 1940, in _real_extract
    args = ytplayer_config.get("args")
AttributeError: 'NoneType' object has no attribute 'get'

vixfwis commented on 2020-12-06 07:19

@drwho

I couldn't reproduce the problem. I checked versions and it seems to be the same as pip3 one, both update Nov 11 as the upstream, however whoever maintains pip3 version changed upstream pkgrel to match the git tag. Upstream has '-2' version on '-3' tag https://github.com/blackjack4494/yt-dlc/blob/2020.11.11-3/youtube_dlc/version.py

If you somehow mixed system-wide install from pip3 and AUR that version discrepancy could be the problem.

There's also restored youtube-dlc upstream repo but its last release was Oct 9 and there are still some DMCA related issues https://github.com/blackjack4494/yt-dlc/issues/255

drwho commented on 2020-12-06 01:40

The .post2 version installed by this AUR package does not seem to work:

Stack trace:

Traceback (most recent call last):
  File "/usr/bin/youtube-dlc", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3239, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 567, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 884, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 770, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'youtube-dlc==2020.11.11.post2' distribution was not found and is required by the application

Installing youtube-dlc with pip3 (which installs the .post3 version, as of 1740 hours UTC-8) does, however, work as expected.

BrLi commented on 2020-11-26 16:06

Hi, I patched PKGBUILD a bit https://gist.github.com/Brli/7d3c712b6931e59ca1109e34da0f738d

It reduce the dependency of zip, and disabled the binary-lized executable, with more plain python script files in python's site_packages and in /usr/bin, increase in about 11MB

which is more compliance to https://wiki.archlinux.org/index.php/Python_package_guidelines