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.23k stars 10.03k forks source link

Premium can not download vdo #17064

Open tachitjusom opened 6 years ago

tachitjusom commented 6 years ago

C:\Users\Win10x64_Bit\Desktop\youtub-dl>youtube-dl https://www.monomaxxx.com/asia-movies-series/detail/450028887_Bringiton,GhostEP.1.html?type=thai

above can download . but below is for premium user but i can't download even i am premium

C:\Users\Win10x64_Bit\Desktop\youtub-dl>youtube-dl -u xxxxxx@gmail.com -p xxxx751 -v https://www.monomaxxx.com/asia-movies-series/detail/450028889_Bringiton,GhostEP.3.html?page=3&type=thai [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-v', 'https://www.monomaxxx.com/asia-movies-series/detail/450028889_Bringiton,GhostEP.3.html?page=3'] [debug] Encodings: locale cp874, fs mbcs, out cp874, pref cp874 [debug] youtube-dl version 2018.06.19 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134 [debug] exe versions: ffmpeg N-91330-ga990184007, ffprobe N-91330-ga990184007 [debug] Proxy map: {} [generic] 450028889_Bringiton,GhostEP.3: Requesting header WARNING: Falling back on generic information extractor. [generic] 450028889_Bringiton,GhostEP.3: Downloading webpage [generic] 450028889_Bringiton,GhostEP.3: Extracting information ERROR: Unsupported URL: https://www.monomaxxx.com/asia-movies-series/detail/450028889_Bringiton,GhostEP.3.html?page=3 Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp3niajf93\build\youtube_dl\YoutubeDL.py", line 792, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp3niajf93\build\youtube_dl\extractor\common.py", line 501, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp3niajf93\build\youtube_dl\extractor\generic.py", line 3263, in _real_extract youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.monomaxxx.com/asia-movies-series/detail/450028889_Bringiton,GhostEP.3.html?page=3

bato3 commented 6 years ago

generic extractor don't support login instead provide cookies: https://github.com/rg3/youtube-dl#how-do-i-pass-cookies-to-youtube-dl

tachitjusom commented 6 years ago

how to export my cookies

tachitjusom commented 6 years ago

@bato3 C:\Users\apt\Downloads>youtube-dl --cookies ‪C:\Users\apt\Downloads\cookies (1).txt -v https://www.monomaxxx.com/asia-movies-series/detail/450028888_Bringiton,GhostEP.2.html?page=2 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--cookies', '\u202aC:\Users\apt\Downloads\cookies', '(1).txt', '-v', 'https://www.monomaxxx.com/asia-movies-series/detail/450028888_Bringiton,GhostEP.2.html?page=2'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2018.07.10 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134 [debug] exe versions: ffmpeg N-91487-g1809f1cda9, ffprobe N-91487-g1809f1cda9 [debug] Proxy map: {} ERROR: '(1).txt' is not a valid URL. Set --default-search "ytsearch" (or run youtube-dl "ytsearch:(1).txt" ) to search YouTube Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 792, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 502, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\generic.py", line 2188, in _real_extract youtube_dl.utils.ExtractorError: '(1).txt' is not a valid URL. Set --default-search "ytsearch" (or run youtube-dl "ytsearch:(1).txt" ) to search YouTube

Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 792, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 502, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\generic.py", line 2188, in _real_extract youtube_dl.utils.ExtractorError: '(1).txt' is not a valid URL. Set --default-search "ytsearch" (or run youtube-dl "ytsearch:(1).txt" ) to search YouTube

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl__init__.py", line 462, in _real_main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 2001, in download File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 815, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 620, in report_error File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 590, in trouble youtube_dl.utils.DownloadError: ERROR: '(1).txt' is not a valid URL. Set --default-search "ytsearch" (or run youtube-dl "ytsearch:(1).txt" ) to search YouTube

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "main.py", line 19, in File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl__init__.py", line 472, in main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl__init__.py", line 465, in _real_main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 561, in exit File "C:\Python\Python34\lib\http\cookiejar.py", line 2068, in save OSError: [Errno 22] Invalid argument: '\u202aC:\Users\apt\Downloads\cookies'

C:\Users\apt\Downloads>youtube-dl --cookies ‪C:\Users\apt\Downloads\cookies.txt -v https://www.monomaxxx.com/asia-movies-series/detail/450028888_Bringiton,GhostEP.2.html?page=2 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--cookies', '\u202aC:\Users\apt\Downloads\cookies.txt', '-v', 'https://www.monomaxxx.com/asia-movies-series/detail/450028888_Bringiton,GhostEP.2.html?page=2'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2018.07.10 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134 [debug] exe versions: ffmpeg N-91487-g1809f1cda9, ffprobe N-91487-g1809f1cda9 [debug] Proxy map: {} [generic] 450028888_Bringiton,GhostEP.2: Requesting header WARNING: Falling back on generic information extractor. [generic] 450028888_Bringiton,GhostEP.2: Downloading webpage [generic] 450028888_Bringiton,GhostEP.2: Extracting information ERROR: Unsupported URL: https://www.monomaxxx.com/asia-movies-series/detail/450028888_Bringiton,GhostEP.2.html?page=2 Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 792, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 502, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\generic.py", line 3258, in _real_extract youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.monomaxxx.com/asia-movies-series/detail/450028888_Bringiton,GhostEP.2.html?page=2

Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 792, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 502, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\generic.py", line 3258, in _real_extract youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.monomaxxx.com/asia-movies-series/detail/450028888_Bringiton,GhostEP.2.html?page=2

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl__init__.py", line 462, in _real_main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 2001, in download File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 815, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 620, in report_error File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 590, in trouble youtube_dl.utils.DownloadError: ERROR: Unsupported URL: https://www.monomaxxx.com/asia-movies-series/detail/450028888_Bringiton,GhostEP.2.html?page=2

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "main.py", line 19, in File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl__init__.py", line 472, in main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl__init__.py", line 465, in _real_main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 561, in exit File "C:\Python\Python34\lib\http\cookiejar.py", line 2068, in save OSError: [Errno 22] Invalid argument: '\u202aC:\Users\apt\Downloads\cookies.txt'

bato3 commented 6 years ago

ERROR: '(1).txt' is not a valid - remove space from cookie filename

OSError: [Errno 22] Invalid argument: '\u202aC:\Users\apt\Downloads\cookies.txt' - in this: --cookies ‪C:\U must be space - not special Unicode chartacter \u202a

tachitjusom commented 6 years ago

@bato3 i try with "youtube-dl --cookies cookies.txt -v https://www.monomaxxx.com/asia-movies-series/detail/450028888_Bringiton,GhostEP.2.html?page=2" but not working