Forum Home
PC World Chat
 
Thread ID: 146225 2018-05-27 18:14:00 Terminal Sending Me A Strange Message: SurferJoe46 (51) PC World Chat
Post ID Timestamp Content User
1450023 2018-05-27 18:14:00 I have this album - to make this clear that this is a legal request, just in Linux this time .

I have (like I said) this album by Hank Williams III, and just wanted to try the MP3/Vid conversion downloader for Linux .

According to github, ( . github . io/youtube-dl/" target="_blank">rg3 . github . io) I followed the instructions . What happened?

The URL was supplied from YT as specified, so where'd the wheels fall off?


joseph@SurfersMintu1 ~ $ youtube-dl . be/3ff8TSvj4HI" target="_blank">youtu . be
[youtube] 3ff8TSvj4HI: Downloading webpage
[youtube] 3ff8TSvj4HI: Downloading video info webpage
[youtube] 3ff8TSvj4HI: Extracting video information
WARNING: unable to extract uploader nickname
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2 . 7/dist-packages/youtube_dl/extractor/youtube . py", line 989, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2 . 7/dist-packages/youtube_dl/extractor/youtube . py", line 881, in _extract_signature_function
raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'/yts/jsbin/player-vflqFr_Sb/en_US/base . js'; please report this issue on . org/bug" target="_blank">yt-dl . org . Make sure you are using the latest version; see . org/update" target="_blank">yt-dl . org on how to update . Be sure to call youtube-dl with the --verbose flag and include its complete output .
(caused by ExtractorError(u"Cannot identify player u'/yts/jsbin/player-vflqFr_Sb/en_US/base . js'; please report this issue on . org/bug" target="_blank">yt-dl . org . Make sure you are using the latest version; see . org/update" target="_blank">yt-dl . org on how to update . Be sure to call youtube-dl with the --verbose flag and include its complete output . ",)); please report this issue on . org/bug" target="_blank">yt-dl . org . Make sure you are using the latest version; see . org/update" target="_blank">yt-dl . org on how to update . Be sure to call youtube-dl with the --verbose flag and include its complete output .
joseph@SurfersMintu1 ~ $


github offers this page to help - again, SOME of this is gibberish to me as I thought I had all the 't's crossed, etc .


. com/rg3/youtube-dl/blob/master/README . md#how-do-i-update-youtube-dl" target="_blank">github . com

I then went in and removed the version of YTD I had and this is the report:


joseph@SurfersMintu1 ~ $ sudo apt-get remove -y youtube-dl
[sudo] password for joseph:
Reading package lists . . . Done
Building dependency tree
Reading state information . . . Done
The following packages were automatically installed and are no longer required:
linux-image-extra-4 . 4 . 0-112-generic linux-image-extra-4 . 4 . 0-116-generic
Use 'apt-get autoremove' to remove them .
The following packages will be REMOVED:
youtube-dl
0 upgraded, 0 newly installed, 1 to remove and 14 not upgraded .
After this operation, 3,469 kB disk space will be freed .
(Reading database . . . 336577 files and directories currently installed . )
Removing youtube-dl (1:2016 . 04 . 19-1~getdeb1) . . .
Processing triggers for man-db (2 . 6 . 7 . 1-1ubuntu1) . . .

So that part is done and done .


The next step I used was as follows:


joseph@SurfersMintu1 ~ $ sudo wget . org/latest/youtube-dl" target="_blank">yt-dl . org -O /usr/local/bin/youtube-dl
--2018-05-27 10:56:46-- . org/latest/youtube-dl" target="_blank">yt-dl . org
Resolving yt-dl . org (yt-dl . org) . . . 95 . 143 . 172 . 170, 2001:1a50:11:0:5f:8f:acaa:177
Connecting to yt-dl . org (yt-dl . org)|95 . 143 . 172 . 170|:443 . . . connected .
HTTP request sent, awaiting response . . . 302 Found
Location: . org/downloads/latest/youtube-dl" target="_blank">yt-dl . org [following]
--2018-05-27 10:56:48-- . org/downloads/latest/youtube-dl" target="_blank">yt-dl . org
Connecting to yt-dl . org (yt-dl . org)|95 . 143 . 172 . 170|:443 . . . connected .
HTTP request sent, awaiting response . . . 302 Found
Location: . org/downloads/2018 . 05 . 26/youtube-dl" target="_blank">yt-dl . org [following]
--2018-05-27 10:56:50-- . org/downloads/2018 . 05 . 26/youtube-dl" target="_blank">yt-dl . org
Connecting to yt-dl . org (yt-dl . org)|95 . 143 . 172 . 170|:443 . . . connected .
HTTP request sent, awaiting response . . . 302 Found
Location: . com/rg3/youtube-dl/releases/download/2018 . 05 . 26/youtube-dl" target="_blank">github . com [following]
--2018-05-27 10:56:51-- . com/rg3/youtube-dl/releases/download/2018 . 05 . 26/youtube-dl" target="_blank">github . com
Resolving github . com (github . com) . . . 192 . 30 . 253 . 113, 192 . 30 . 253 . 112
Connecting to github . com (github . com)|192 . 30 . 253 . 113|:443 . . . connected .
HTTP request sent, awaiting response . . . 302 Found
Location: . s3 . amazonaws . com/1039520/43be7de6-60e5-11e8-9906-2432d3925540?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180527%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180527T165653Z&X-Amz-Expires=300&X-Amz-Signature=629ef0d911efc2b54bee310de46c0054385f9deb" target="_blank">github-production-release-asset-2e65be . s3 . amazonaws . com ca1e45cbc6ee518a47897923&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dyoutube-dl&response-content-type=application%2Foctet-stream [following]
--2018-05-27 10:56:52-- . s3 . amazonaws . com/1039520/43be7de6-60e5-11e8-9906-2432d3925540?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180527%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180527T165653Z&X-Amz-Expires=300&X-Amz-Signature=629ef0d911efc2b54bee310de46c0054385f9deb" target="_blank">github-production-release-asset-2e65be . s3 . amazonaws . com ca1e45cbc6ee518a47897923&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dyoutube-dl&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be . s3 . amazonaws . com (github-production-release-asset-2e65be . s3 . amazonaws . com) . . . 52 . 216 . 20 . 131
Connecting to github-production-release-asset-2e65be . s3 . amazonaws . com (github-production-release-asset-2e65be . s3 . amazonaws . com)|52 . 216 . 20 . 131|:443 . . . connected .
HTTP request sent, awaiting response . . . 200 OK
Length: 1660847 (1 . 6M) [application/octet-stream]
Saving to: ‘/usr/local/bin/youtube-dl’

100%[======================================>] 1,660,847 455KB/s in 3 . 6s

2018-05-27 10:56:57 (455 KB/s) - ‘/usr/local/bin/youtube-dl’ saved [1660847/1660847]

joseph@SurfersMintu1 ~ $ sudo chmod a+x /usr/local/bin/youtube-dl
joseph@SurfersMintu1 ~ $ sudo chmod a+x /usr/local/bin/youtube-dl
joseph@SurfersMintu1 ~ $ hash -r
joseph@SurfersMintu1 ~ $ sudo youtube-dl -U .
Usage: youtube-dl [OPTIONS] URL [URL . . . ]

youtube-dl: error: no such option: - .
joseph@SurfersMintu1 ~ $

Here ---- one can see that terminal 'dialed-out' - what? . . . . 4 times> ---> before it got an answer .

Is the server THAT busy? Or are there problems in the return transmission that triggered the 4 call-outs?


Connecting to yt-dl . org (yt-dl . org)|95 . 143 . 172 . 170|:443 . . . connected .
HTTP request sent, awaiting response . . . 302 Found
Location: . org/downloads/latest/youtube-dl" target="_blank">yt-dl . org [following]
--2018-05-27 10:56:48-- . org/downloads/latest/youtube-dl" target="_blank">yt-dl . org
Connecting to yt-dl . org (yt-dl . org)|95 . 143 . 172 . 170|:443 . . . connected .
HTTP request sent, awaiting response . . . 302 Found
Location: . org/downloads/2018 . 05 . 26/youtube-dl" target="_blank">yt-dl . org [following]
--2018-05-27 10:56:50-- . org/downloads/2018 . 05 . 26/youtube-dl" target="_blank">yt-dl . org
Connecting to yt-dl . org (yt-dl . org)|95 . 143 . 172 . 170|:443 . . . connected .
HTTP request sent, awaiting response . . . 302 Found
Location: . com/rg3/youtube-dl/releases/download/2018 . 05 . 26/youtube-dl" target="_blank">github . com [following]
--2018-05-27 10:56:51-- . com/rg3/youtube-dl/releases/download/2018 . 05 . 26/youtube-dl" target="_blank">github . com
Resolving github . com (github . com) . . . 192 . 30 . 253 . 113, 192 . 30 . 253 . 112
Connecting to github . com (github . com)|192 . 30 . 253 . 113|:443 . . . connected .
HTTP request sent, awaiting response . . . 302 Found

Huh?

If it matters, there are lines ref to Amazon (I think so anyway) ---> does that invoke my Amazon Prime Subscription?

Example:


Resolving github-production-release-asset-2e65be . s3 . amazonaws . com (github-production-release-asset-2e65be . s3 . amazonaws . com) . . . 52 . 216 . 20 . 131
Connecting to github-production-release-asset-2e65be . s3 . amazonaws . com (github-production-release-asset-2e65be . s3 . amazonaws . com)|52 . 216 . 20 . 131|:443 . . . connected .


I am in good standing with them - and ON THIS VERY SAME LINUX-MINT 'PUTER too!

All I wanna do is try this app . Is it going to happen or am I OOL?




.
SurferJoe46 (51)
1450024 2018-05-29 04:00:00 You seem to pick the hard way every time.
www.makeuseof.com

Pick some apps. Or if you must use the thing you got, ask the github people what the issue is, or go on the Mint forum.
piroska (17583)
1450025 2018-05-29 06:08:00 You have this album but you are trying to download something that downloads YouTube videos and converts them to mp3 or a different video format?

Sounds like you just want CD Ripping software.

Sound Juicer use to be default with Ubuntu so that should be available in the repository and is easy to use.

If you don't want to install anything extra Mint does come with VLC Player which can also rip CDs. Also quite possible the music player it has also would have that ability. I am not sure what Mint uses, Brasero or RhythmBox.
Kame (312)
1450026 2018-05-29 06:27:00 I've a;ways stayed away from VLC as it looks simple and dumb. But I'll go negotiate a truce with it and try it again.

My favorite (in Win-XP) was Audacity - but somehow Linux doesn't play nicely with it.

But - yeah - I want to have the ability to copy the audio off a YT vid for my own purposes. And I'll check out Sound Juicer too.

Thanks.
SurferJoe46 (51)
1450027 2018-05-29 08:45:00 There's browser extensions that can do this.

VLC may look simple but it's actually complex if you dive deeper into it.

You could use audacity but you may need additional codecs to support other formats like converting to mp3, if it's just for your own use on the computer, ogg vorbis or flac be supported formats that won't require any additional work. For video you could use theora .
Kame (312)
1450028 2018-05-29 10:07:00 No, it's just following the redirects (302 code) to where the stuff is currently stored, either b/c it has been moved, or just some load balancing magic.

You seem to have it installed, you just need to feed it a proper set of options and a url.

Not sure if your first failure was just that the (meta)data format it was expecting (from yt) has changed.
This is a constant problem with these tyoes of things as yt and such would much prefer you to supply your tracking data and view the ad's via a browser, so generally go out of their way to break such scripts as often as possible.
fred_fish (15241)
1450029 2018-05-30 01:45:00 If you are only wanting to download audio from youtube
just wanted to try the MP3/Vid conversion downloader

youtube-dl is a command-line program to download videos from YouTube.com

The simple way is go to the video on youtube, add the word gen into the title, just before youtube and it will give you options to download various formats

This one from Hank Williams www.youtube.com

The change would be www.genyoutube.com

Works in both Linux and windows

8860
wainuitech (129)
1450030 2018-05-30 04:20:00 I've a;ways stayed away from VLC as it looks simple and dumb.
My favorite (in Win-XP) was Audacity - but somehow Linux doesn't play nicely with it.


VLC was the go to software even in Windows. It's great.

Audacity does work with Mint, what issue did you have with it?
piroska (17583)
1