You are not logged in.

#1 2018-09-08 12:20:23

amaro
Member
From: 5.11.1-1-ck-ivybridge, xfce
Registered: 2014-05-09
Posts: 363

[SOLVED] youtube-dl not working after updates

Hi everybody!

Yesterday installed latest updates and today cannot use youtube-dl

[sudo] password for vb: 
:: Synchronizing package databases...
 testing                       27.4 KiB  1370K/s 00:00 [############################] 100%
 community-testing             43.1 KiB  2.10M/s 00:00 [############################] 100%
 community                      4.5 MiB  1379K/s 00:03 [############################] 100%
 core                         133.4 KiB  1482K/s 00:00 [############################] 100%
 extra                       1634.6 KiB  1385K/s 00:01 [############################] 100%
:: Starting full system upgrade...
warning: calibre: ignoring package upgrade (3.29.0-1 => 3.30.0-1)
warning: chromium: ignoring package upgrade (68.0.3440.106-1 => 69.0.3497.81-1)
warning: firefox: ignoring package upgrade (61.0.2-1 => 62.0-1)
warning: libreoffice-fresh: ignoring package upgrade (6.1.0-1 => 6.1.0-2)
warning: opera: ignoring package upgrade (55.0.2994.37-1 => 55.0.2994.44-1)
warning: redshift: ignoring package upgrade (1.11-5 => 1.12-2)
warning: vlc: ignoring package upgrade (3.0.3-4 => 3.0.4-1)
resolving dependencies...
looking for conflicting packages...

Packages (23) cantarell-fonts-1:0.111-1  curl-7.61.1-1  fontconfig-2:2.13.0+15+gc60ed9e-1
              ghostscript-9.24-4  glib2-2.58.0-1  glib2-docs-2.58.0-1
              gsettings-desktop-schemas-3.28.1-1  gsfonts-20180524-1  ldb-1:1.3.6-1
              libarchive-3.3.3-1  libcurl-compat-7.61.1-1  libunrar-1:5.6.6-1
              libwbclient-4.8.5-1  opencv-3.4.3-2  python2-keyring-13.2.1-4
              re2-20180901-1  smbclient-4.8.5-1  sudo-1.8.25-1  tslib-1.17-1
              unrar-1:5.6.6-1  wayland-protocols-1.16-1  zita-alsa-pcmi-0.3.2-1
              zita-resampler-1.6.2-1

Total Download Size:    50.09 MiB
Total Installed Size:  253.63 MiB
Net Upgrade Size:        1.06 MiB

:: Proceed with installation? [Y/n] y

Here is the output

WARNING: parsing .netrc: No authenticators for youtube (None, line None)
[youtube] F5Dwp3ihyDM: Downloading webpage
[youtube] F5Dwp3ihyDM: Downloading js player vflvABTsY
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1210, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1121, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1182, in _parse_sig_js
    jscode, 'Initial JS player signature function name', group='sig')
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 972, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; 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 RegexNotFoundError('Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; 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.

Any ideas?
Thank you in advance!

Last edited by amaro (2018-09-08 12:40:37)

Offline

#2 2018-09-08 12:36:47

Scorpick
Member
Registered: 2016-02-16
Posts: 23

Re: [SOLVED] youtube-dl not working after updates

It's fixed in youtube-dl-2018.09.08. You can wait for an update or build it yourself in the meantime.

Offline

#3 2018-09-08 12:39:59

amaro
Member
From: 5.11.1-1-ck-ivybridge, xfce
Registered: 2014-05-09
Posts: 363

Re: [SOLVED] youtube-dl not working after updates

Thank you, Scorpick!

Offline

#4 2018-09-12 20:42:08

xerxes_
Member
Registered: 2018-04-29
Posts: 665

Re: [SOLVED] youtube-dl not working after updates

I have same error when try to download something from youtube (vimeo and others seem to work). There are 2 newer versions of youtube-dl then what it is in arch. What's keeps so long to update youtube-dl package to newer version in arch?

Offline

#5 2018-09-13 11:02:15

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] youtube-dl not working after updates

@xerxes_, please don't bump solved threads. As far as updating packages is concerned, Arch Packagers don't have any defined SLA. In this particular case, youtube-dl is easily installable without a package manager and considering the frequency with which it gets updates, it's better to keep it updated yourself.

https://github.com/rg3/youtube-dl/#installation

Offline

#6 2018-09-13 11:11:38

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] youtube-dl not working after updates

There is also the option to use the -git package from the AUR and rebuild it regularily.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB