Package Details: youtube-dl-git 2016.05.01.r42.6f59aa9-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: 93
Popularity: 3.166101
First Submitted: 2012-02-27 11:10
Last Updated: 2016-05-05 19:52

Dependencies (7)

Required by (47)

Sources (1)

Latest Comments

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.

flu commented on 2016-03-06 09:45

pkgver is date+commit hash, so your corner case could happen. The pkgver creation is not standard for a -git package because this is not (it downloads a zip snapshot). The "fix" would be adding hour, minute, even second to pkgver, but this makes the version number very long. Not a very serious issue, by the way.

Any other thoughts?

My suggestion is to bump the pkgrel to 2 every time on your side. Or to ignore the warning, if it is working anyway.

xduugu commented on 2016-03-05 12:40

Could you fix the versioning of the package? I just upgraded the package, but the new version is less than the version in the .SRCINFO file. It is actually built from a newer commit, though.

Version of the AUR package: 2016.03.05.845817a-1
Date of commit: Sat, 5 Mar 2016 18:14:58 +0800 -> UTC: 2016-03-05 10:14:58

Version when built: 2016.03.05.18b0b23-1
Date of commit: Sat, 5 Mar 2016 12:14:48 +0100 -> UTC: 2016-03-05 11:14:48

All comments