ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.78k stars 10.08k forks source link

Camtube.co site support is not working now #21398

Closed prodigy009 closed 5 years ago

prodigy009 commented 5 years ago

Checklist

Verbose log

C:\WINDOWS\system32>youtube-dl https://camtube.co/recording/w0wgirls-130619-1737-chaturbate-couple -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://camtube.co/recording/w0wgirls-130619-1737-chaturbate-couple', '-v']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.06.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: none
[debug] Proxy map: {}
[CamTube] w0wgirls-130619-1737-chaturbate-couple: Downloading session token
[CamTube] w0wgirls-130619-1737-chaturbate-couple: Downloading JSON metadata
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://api.camtube.co/recordings/37a3b57d-6971-4763-b4c9-8f5f455bc616/manifest.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 156
[download] Destination: w0wgirls-130619-1737-chaturbate-couple-37a3b57d-6971-4763-b4c9-8f5f455bc616.mp4
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10)...

ERROR: Interrupted by user

Description

WRITE DESCRIPTION HERE I think it does not work now Camtube.co site support.

dstftw commented 5 years ago

You must have paid account.

prodigy009 commented 5 years ago

You must have paid account.

I bought a paid access and tried it with cookies, but it doesn't work at all. I will not remove any program to capture video: Internet Download Manager, TubeDigger, StreamTransport as well. I can give access login / password at the time of repair. In any case, even for free access (5 MB of video) youtube-dl does not work already.

youtube-dl https://camtube.co/recording/w0wgirls-130619-1737-chaturbate-couple --cookies "cookies.txt" -o "C:/Programs/%(title)s-%(id)s.%(ext)s"

prodigy009 commented 5 years ago

1111 @dstftw I don't understand python. But it seems to me that there is no work at all in extractor ?

dstftw commented 5 years ago

Wrong.

prodigy009 commented 5 years ago

@dstftw I don't mean working with the --cookies parameter, you can show the extractor where implemented, how to get cookies from the file

dstftw commented 5 years ago

Implemented what? You don't need to get cookies from the file in extractor code in the first place.

prodigy009 commented 5 years ago

@dstftw Where, then, is in the compat.py extractor, the 'if' condition, where you will either take the file from the --cookiesparameter or they will be obtained upon request, as now, there is a strict request for receiving NEW cookies, instead of taking everything from the file, it seems like this straightforward code:: token = self._download_json (               '% s / rpc / session / new'% self._API_BASE, display_id,               'Downloading session token') ['token']

Вообще можно писать на русском ? вы вроде бы русскоговорящий