Package Details: youtube-dl-git 2017.02.04.1.r4.6ef3e65a7-1

Git Clone URL: https://aur.archlinux.org/youtube-dl-git.git (read-only)
Package Base: youtube-dl-git
Description: A small command-line program to download videos from YouTube.com and a few more sites (git version)
Upstream URL: https://github.com/rg3/youtube-dl
Keywords: download player streaming video youtube
Licenses: custom
Conflicts: youtube-dl
Provides: youtube-dl
Submitter: baskerville
Maintainer: disastro
Last Packager: disastro
Votes: 106
Popularity: 0.416003
First Submitted: 2012-02-27 11:10
Last Updated: 2017-02-05 11:34

Dependencies (8)

Required by (62)

Sources (1)

Latest Comments

disastro commented on 2017-02-05 11:12

@Alad
I can't confirm or deny that error but regardless setuptools should also be in the makedepends, thanks!

@Cysioland (who flagged out-of-date) this is a git package, there is no "newer version in the repo" most of the time, makepkg pulls the latest. Read how the AUR VCS packages work.

Alad commented on 2017-01-29 12:26

python_setuptools should _also_ be in makedepends, otherwise there were errors like:

Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3019, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 655, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 963, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'youtube-dl==2016.11.22' distribution was not found and is required by the application

disastro commented on 2016-11-25 22:37

Unflagged, not outdated. @ritchy see AlfredoRamos' comment

ritchy commented on 2016-11-25 18:44

https://github.com/rg3/youtube-dl/issues/11281

Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 676, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 341, in extract
return self._real_extract(url)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 1568, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 1005, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 995, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 910, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 973, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/lib/python3.5/site-packages/youtube_dl/jsinterp.py", line 241, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'Xn'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError("Could not find JS function 'Xn'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output

Answer from youtube-dl devs :
You are using an outdated version of youtube-dl. Read this FAQ entry if you have troubles updating.

disastro commented on 2016-08-27 10:16

Indeed, unflagged because no apparent reason this is outdated

AlfredoRamos commented on 2016-08-26 16:31

@twilk It's not outdated, please read about -git packages.

- https://bbs.archlinux.org/viewtopic.php?id=120644

disastro commented on 2016-05-05 19:52

@Case_Of Fixed! Thank you

Case_Of commented on 2016-05-05 19:17

python-setuptools should be in depends instead of makedepends.

disastro commented on 2016-04-08 15:36

Hello all

Adopted, rewrote PKGBUILD, updated version.
Wrote following community/youtube-dl, and now actually using git for source.
Please report any issues that might arise, I can only test on so many systems.

xduugu commented on 2016-03-06 11:15

Bumping the pkgrel does not help since the pkgrel is only used when the pkgver is equal.

But there are more issues with the way the package version is generated:
- it can generate a different pkgver for the same commit, because it does not use the date of the commit, but the local date.
- the pkgver function is run after the source was downloaded and extracted, which means that the downloaded archive is always renamed to the pkver that is given in the PKGBUILD, but this is usually not the commit that was downloaded.

I think the only way for a -git package, that does not use git for downloading, is to get rid of the sources array and use curl and bsdtar manually.

All comments