Forum › Forums › New users › New Users and General Questions › youtube-dl under attack.
- This topic has 22 replies, 5 voices, and was last updated Nov 8-7:10 pm by ModdIt.
-
AuthorPosts
-
November 3, 2020 at 2:32 am #44253Member
flyntstone
I would like to start this topic asking how to best solve the recent attack on youtube-dl for antiX and MX. Thanks for your help.:-)
https://github.com/ytdl-org/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl
https://github.com/github/dmca/tree/416da574ec0df3388f652e44f7fe71b1e3a4701f
https://www.bleepingcomputer.com/news/software/angry-youtube-dl-users-flood-github-with-new-repos-after-takedown/November 3, 2020 at 2:59 am #44255Memberflyntstone
::Well, I managed to get it working after a few tries. (My Persistence is still broken on my key, so I’ll have to repeat it, lol.) Anyway, I broke the man page somehow, but this worked to get a working program:
Regular uninstall using Synaptic.
Install following the linux instructions here:
https://yt-dl.org/download.htmlnI used these commands copied off their website, but modified them. Here are the unmodified commands:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dlHere are the modified commands reflecting the original directory structure on antiX for the original youtube-dl install:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/bin/youtube-dl
sudo chmod a+rx /usr/bin/youtube-dlI would appreciate any best practices I am not aware of. Also, if someone could tell me how to restore the man page. 🙂
November 3, 2020 at 3:15 am #44256Memberflyntstone
::I should add that I got a successful recent version response from the program which I used as a guide:
$ youtube-dl –version
2020.11.01.1Quite apart from the attack, certain programs like this one need to be updated often in order to work properly because of a continually changing public interface. I am not sure of the best way to streamline this. Here are my thoughts:
Make the repo the original publisher.
Make the repo for a particular program easy to update (as in just changing a pointer).I know there are many factors here. Perhaps we already have the best overall solution to implementation, but I would appreciate some input from more experienced folks. Thanks for your help.
November 3, 2020 at 3:30 am #44257Memberex_Koo
::Really not sure what you are on about, I just downloaded a movie with 2020.09.20 version.
You have no idea on what I think about youtube attacking youtube_dl this is disgraceful of them. I,m not going to say anymore..
November 3, 2020 at 8:54 am #44278Member
Xecure
::I would like to start this topic asking how to best solve the recent attack on youtube-dl
You understand that “the attack” is not on the running program in antiX or on any machine, but that the “attack” is against the youtube-dl repo by big “copyright protection” groups to remove the sourcecode from the internet. They claim that using youtube-dl is against “the will of the artists” and that it is stealing (same clame they use against sharing files on the internet, calling it piracy). They want nobody to host the sourcecode so that nobody can keep developing it. Github now has gone back and states that they are not against youtube-dl and are trying to get it back on their repos.
The version running in antiX still works and is continuesly patched by the antiX dev (even if the version number remains the same).
The attack is not on you or any users, but on the creators of the project.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.November 4, 2020 at 3:06 pm #44340Memberflyntstone
::Really not sure what you are on about, I just downloaded a movie with 2020.09.20 version.
You have no idea on what I think about youtube attacking youtube_dl this is disgraceful of them. I,m not going to say anymore..
Of course, I got started on this because a download failed for me. It should be clear from the links that youtube-dl is failing for many others, especially those who use it professionally. There is no reason why such failings should apply to all videos because youtube’s interface changes may not be universally applied. I am not an expert on youtube’s machinations. I think the maintainers of youtube-dl are doing a great job. You don’t have to say anything else about youtube’s ethical stance. I fully agree.
November 4, 2020 at 4:06 pm #44349Memberflyntstone
::I would like to start this topic asking how to best solve the recent attack on youtube-dl
You understand that “the attack” is not on the running program in antiX or on any machine, but that the “attack” is against the youtube-dl repo by big “copyright protection” groups to remove the sourcecode from the internet. They claim that using youtube-dl is against “the will of the artists” and that it is stealing (same clame they use against sharing files on the internet, calling it piracy). They want nobody to host the sourcecode so that nobody can keep developing it. Github now has gone back and states that they are not against youtube-dl and are trying to get it back on their repos.
The version running in antiX still works and is continuesly patched by the antiX dev (even if the version number remains the same).
The attack is not on you or any users, but on the creators of the project.
You know, I keep trying to reply, and when I click on “replies created”, I get this screenshot. I will try to keep my replies shorter and hope.
Attachments:
November 4, 2020 at 4:09 pm #44351Memberflyntstone
::I would like to start this topic asking how to best solve the recent attack on youtube-dl
You understand that “the attack” is not on the running program in antiX or on any machine, but that the “attack” is against the youtube-dl repo by big “copyright protection” groups to remove the sourcecode from the internet. They claim that using youtube-dl is against “the will of the artists” and that it is stealing (same clame they use against sharing files on the internet, calling it piracy). They want nobody to host the sourcecode so that nobody can keep developing it. Github now has gone back and states that they are not against youtube-dl and are trying to get it back on their repos.
The version running in antiX still works and is continuesly patched by the antiX dev (even if the version number remains the same).
The attack is not on you or any users, but on the creators of the project.
I am aware of the focus of the attack. My persistence is still broken, so I am able to reproduce the errors quickly, lol:
demo@antix1:~
$ youtube-dl https://www.youtube.com/watch?v=6JQm5aSjX6g
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading webpage
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading video info webpage
ERROR: 6JQm5aSjX6g: “token” parameter not in video info for unknown reason; 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.November 4, 2020 at 4:11 pm #44352Memberflyntstone
::with –verbose set:
demo@antix1:~
$ youtube-dl –verbose https://www.youtube.com/watch?v=6JQm5aSjX6g
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [‘–verbose’, ‘https://www.youtube.com/watch?v=6JQm5aSjX6g’%5D
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.01
[debug] Python version 3.7.3 (CPython) – Linux-4.9.212-antix.1-amd64-smp-x86_64-with-antiX-19.2-buster
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading webpage
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading video info webpage
ERROR: 6JQm5aSjX6g: “token” parameter not in video info for unknown reason; 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.
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py”, line 797, in extract_info
ie_result = ie.extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 530, in extract
ie_result = self._real_extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py”, line 2415, in _real_extract
video_id=video_id)
youtube_dl.utils.ExtractorError: 6JQm5aSjX6g: “token” parameter not in video info for unknown reason; 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.November 4, 2020 at 4:17 pm #44353Memberflyntstone
::$ youtube-dl -U
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.Pip is not installed. Package Installer does not see youtube-dl. Synaptic accepts https://yt-dl.org/download.html as a repo, but only got me from 2020.03.xx to 2020.09.20, so I think it still points to antiX. I don’t have a whole lot of experience with package installers. Can I change the pointer? Anyway, 2020.09.20 does not work:
$ youtube-dl –version
2020.09.20
demo@antix1:~
$ youtube-dl –verbose https://www.youtube.com/watch?v=6JQm5aSjX6g
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [‘–verbose’, ‘https://www.youtube.com/watch?v=6JQm5aSjX6g’%5D
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.7.3 (CPython) – Linux-4.9.212-antix.1-amd64-smp-x86_64-with-antiX-19.2-buster
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading webpage
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading embed webpage
ERROR: Unable to extract JS player URL; 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.
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py”, line 797, in extract_info
ie_result = ie.extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 532, in extract
ie_result = self._real_extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py”, line 2101, in _real_extract
ASSETS_RE, embed_webpage, ‘JS player URL’)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 1010, in _search_regex
raise RegexNotFoundError(‘Unable to extract %s’ % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract JS player URL; 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.November 4, 2020 at 4:20 pm #44354Memberflyntstone
::So, after that I do what I say at the start of this thread, and that works, but my man page seems to break. Also, this is a long road, so if you have any suggestions to make the process more efficient, please let me know.
November 5, 2020 at 11:45 am #44348Memberflyntstone
::I would like to start this topic asking how to best solve the recent attack on youtube-dl
You understand that “the attack” is not on the running program in antiX or on any machine, but that the “attack” is against the youtube-dl repo by big “copyright protection” groups to remove the sourcecode from the internet. They claim that using youtube-dl is against “the will of the artists” and that it is stealing (same clame they use against sharing files on the internet, calling it piracy). They want nobody to host the sourcecode so that nobody can keep developing it. Github now has gone back and states that they are not against youtube-dl and are trying to get it back on their repos.
The version running in antiX still works and is continuesly patched by the antiX dev (even if the version number remains the same).
The attack is not on you or any users, but on the creators of the project.
I got an error on my last “submit”, so trying again:
I am aware of the focus of the attack. I guess I rushed ahead.
My persistence is still broken, so it is easy to start over and show you the error, lol:$ youtube-dl https://www.youtube.com/watch?v=6JQm5aSjX6g
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading webpage
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading video info webpage
ERROR: 6JQm5aSjX6g: “token” parameter not in video info for unknown reason; 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.
demo@antix1:~and setting –verbose:
$ youtube-dl –verbose https://www.youtube.com/watch?v=6JQm5aSjX6g
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [‘–verbose’, ‘https://www.youtube.com/watch?v=6JQm5aSjX6g’%5D
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.01
[debug] Python version 3.7.3 (CPython) – Linux-4.9.212-antix.1-amd64-smp-x86_64-with-antiX-19.2-buster
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading webpage
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading video info webpage
ERROR: 6JQm5aSjX6g: “token” parameter not in video info for unknown reason; 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.
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py”, line 797, in extract_info
ie_result = ie.extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 530, in extract
ie_result = self._real_extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py”, line 2415, in _real_extract
video_id=video_id)
youtube_dl.utils.ExtractorError: 6JQm5aSjX6g: “token” parameter not in video info for unknown reason; 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.demo@antix1:~
And trying to update through the program:
$ youtube-dl -U
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.
demo@antix1:~Package Installer does not find youtube-dl. Pip is not installed. Synaptic Package Manager accepts https://yt-dl.org/download.html as a repo (is that the right choice?), but after marking for update, and applying, I only get to 2020.09.20, so I think the pointer is still to the antiX repo. (Apparently, my local build runs a youtube-dl from March.) Anyway, then I get here:
$ youtube-dl –version
2020.09.20
demo@antix1:~
$ youtube-dl –verbose https://www.youtube.com/watch?v=6JQm5aSjX6g
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [‘–verbose’, ‘https://www.youtube.com/watch?v=6JQm5aSjX6g’%5D
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.7.3 (CPython) – Linux-4.9.212-antix.1-amd64-smp-x86_64-with-antiX-19.2-buster
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading webpage
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading embed webpage
ERROR: Unable to extract JS player URL; 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.
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py”, line 797, in extract_info
ie_result = ie.extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 532, in extract
ie_result = self._real_extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py”, line 2101, in _real_extract
ASSETS_RE, embed_webpage, ‘JS player URL’)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 1010, in _search_regex
raise RegexNotFoundError(‘Unable to extract %s’ % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract JS player URL; 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.After this, my install described at the beginning of the thread seems to work, but this is a long road, and my man page seems to break.
November 5, 2020 at 11:45 am #44346Memberflyntstone
::I would like to start this topic asking how to best solve the recent attack on youtube-dl
You understand that “the attack” is not on the running program in antiX or on any machine, but that the “attack” is against the youtube-dl repo by big “copyright protection” groups to remove the sourcecode from the internet. They claim that using youtube-dl is against “the will of the artists” and that it is stealing (same clame they use against sharing files on the internet, calling it piracy). They want nobody to host the sourcecode so that nobody can keep developing it. Github now has gone back and states that they are not against youtube-dl and are trying to get it back on their repos.
The version running in antiX still works and is continuesly patched by the antiX dev (even if the version number remains the same).
The attack is not on you or any users, but on the creators of the project.
Yes, I am fully aware of the focus of the attack. Perhaps I rushed ahead by not capturing the error and posting it here. Luckily, my persistence is still broken, so I am able to quickly reproduce the error, lol:
$ youtube-dl https://www.youtube.com/watch?v=6JQm5aSjX6g
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading webpage
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading video info webpage
ERROR: 6JQm5aSjX6g: “token” parameter not in video info for unknown reason; 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.
demo@antix1:~
$Calling with –verbose:
$ youtube-dl –verbose https://www.youtube.com/watch?v=6JQm5aSjX6g
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [‘–verbose’, ‘https://www.youtube.com/watch?v=6JQm5aSjX6g’%5D
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.01
[debug] Python version 3.7.3 (CPython) – Linux-4.9.212-antix.1-amd64-smp-x86_64-with-antiX-19.2-buster
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading webpage
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading video info webpage
ERROR: 6JQm5aSjX6g: “token” parameter not in video info for unknown reason; 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.
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py”, line 797, in extract_info
ie_result = ie.extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 530, in extract
ie_result = self._real_extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py”, line 2415, in _real_extract
video_id=video_id)
youtube_dl.utils.ExtractorError: 6JQm5aSjX6g: “token” parameter not in video info for unknown reason; 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.and calling with the update flag:
demo@antix1:~
$ youtube-dl -U
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.
demo@antix1:~
$I found that pip is not installed, and that the Package Installer does not find youtube-dl. I tried setting https://yt-dl.org/download.html as the repo in Synaptic Package Manager, marking for update, and applying. However, I think the Manager still pointed to the antiX repo because I got this:
$ youtube-dl –version
2020.09.20
demo@antix1:~
$ youtube-dl –verbose https://www.youtube.com/watch?v=6JQm5aSjX6g
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [‘–verbose’, ‘https://www.youtube.com/watch?v=6JQm5aSjX6g’%5D
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.7.3 (CPython) – Linux-4.9.212-antix.1-amd64-smp-x86_64-with-antiX-19.2-buster
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading webpage
https://www.youtube.com/watch?v= 6JQm5aSjX6g: Downloading embed webpage
ERROR: Unable to extract JS player URL; 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.
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py”, line 797, in extract_info
ie_result = ie.extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 532, in extract
ie_result = self._real_extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py”, line 2101, in _real_extract
ASSETS_RE, embed_webpage, ‘JS player URL’)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 1010, in _search_regex
raise RegexNotFoundError(‘Unable to extract %s’ % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract JS player URL; 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.So anyway, I finally downloaded the latest version directly from https://yt-dl.org/download.html and installed it as I noted above. That is my story. Maybe I could use a little more knowledge in some area to make this easier, but as far as I can tell, the 2020.9.20 version is not happening for me.
November 5, 2020 at 12:41 pm #44425MemberModdIt
::Did you already try
First purge youtube-dl then do apt clean apt autoremove then
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dlNovember 5, 2020 at 2:07 pm #44429Memberex_Koo
::So am I right in saying that you are trying to download The Best of Bach. Are you aware that this is a commercial video that is not free and is for sale also embedded. This would be looked at as PIRACY.
And you are asking why youtube is attacking youtube-dl. People like you is why.
- This reply was modified 2 years, 6 months ago by ex_Koo.
- This reply was modified 2 years, 6 months ago by ex_Koo.
-
AuthorPosts
- You must be logged in to reply to this topic.
