Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
youtube-dl failing... [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1200

PostPosted: Wed Sep 11, 2019 5:39 pm    Post subject: youtube-dl failing... [solved] Reply with quote

After suspended use for a month or two fails to download whatever video is selected, although playing fine in browser:
Code:
youtube-dl -x --verbose https://www.youtube.com/watch?v=eLQ2atfqk2c
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-x', '--verbose', 'https://www.youtube.com/watch?v=eLQ2atfqk2c']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.27
[debug] Python version 3.6.5 (CPython) - Linux-5.2.14-gentoo-classic-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-gentoo-2.6
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3
[debug] Proxy map: {}
[youtube] eLQ2atfqk2c: Downloading webpage
[youtube] eLQ2atfqk2c: Downloading video info webpage
WARNING: Unable to extract video title
ERROR: This video is unavailable.
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 2108, in _real_extract
    raise ExtractorError(error_message, expected=True)
youtube_dl.utils.ExtractorError: This video is unavailable.

tested versions: 2019.07.16[1] (~)2019.07.27t[1] 2019.09.01

Any idea?

Thks 4 ur attention.


Last edited by CaptainBlood on Thu Sep 12, 2019 11:36 am; edited 2 times in total
Back to top
View user's profile Send private message
nick_gentoo
n00b
n00b


Joined: 07 Jan 2019
Posts: 74

PostPosted: Wed Sep 11, 2019 6:22 pm    Post subject: Reply with quote

It's probably a recent issue: https://github.com/ytdl-org/youtube-dl/issues/22367
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8131
Location: ~Brussels - Belgique

PostPosted: Wed Sep 11, 2019 6:54 pm    Post subject: Reply with quote

The patch linked in the github link is working for me, thanks :)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1200

PostPosted: Wed Sep 11, 2019 7:49 pm    Post subject: Reply with quote

xaviermiller wrote:
The patch linked in the github link is working for me, thanks :)
Is it patch https://github.com/ytdl-org/youtube-dl/commit/bf1317d257d13188601c837c983830355c6203e5?
I can only see pre-patch & post-patch source file displays...
Is there a convenient way to retrieve the patch file itself, e.g. to push to /etc/portage/patches?

Thks 4 ur attention, interest & support


Last edited by CaptainBlood on Wed Sep 11, 2019 8:34 pm; edited 2 times in total
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1200

PostPosted: Wed Sep 11, 2019 8:32 pm    Post subject: Reply with quote

youtube-dl-99999999 failed here...

Thks 4 ur attention, interest & support.
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1200

PostPosted: Wed Sep 11, 2019 9:02 pm    Post subject: Reply with quote

likely 2 be a youtube site failure...
Thks 4 ur attention, interest é support.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14394

PostPosted: Thu Sep 12, 2019 1:23 am    Post subject: Reply with quote

CaptainBlood wrote:
Is there a convenient way to retrieve the patch file itself, e.g. to push to /etc/portage/patches?
Does https://github.com/ytdl-org/youtube-dl/commit/bf1317d257d13188601c837c983830355c6203e5.patch not work for you?
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1200

PostPosted: Thu Sep 12, 2019 10:48 am    Post subject: Reply with quote

@hu, thks for the tip, i.e. extending sources difference display github page reference with patch suffix.
I've read something about it, not explicit enough to make me try it.

Still, latest unstable youtube-dl-2019.09.12.1 doesn't work neither, althought I've learned sometihing, at least :lol:.

EDIT: Seems fixed, working with latest.

Thks 4 ur attention, interest & support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum