-
-
Save soliviantar/d2b7f1c1fe858b3bf4e3e035468d1fae to your computer and use it in GitHub Desktop.
python .\vimeo-bulk-downloader.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS D:\Desktop\vimeo\Bulk-Private-Vimeo-Downloader> python .\vimeo-bulk-downloader.py | |
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8 | |
[debug] yt-dlp version stable@2023.12.30 from yt-dlp/yt-dlp [f10589e34] (pip) API | |
[debug] params: {'format': 'bestvideo+bestaudio', 'referer': 'https://vimeo.com/', 'external_downloader': 'aria2c', 'external_downloader_args': ['-x', '16', '-s', '16', '-k', '5M', '--max-concurrent-downloads=16'], 'outtmpl': 'D:\\Desktop\\vimeo\\Bulk-Private-Vimeo-Downloader\\output_videos\\%(title)s (%(format_id)s).%(ext)s', 'clean_infojson': False, 'nooverwrites': True, 'verbose': True, 'tempdir': 'C:\\Users\\username\\AppData\\Local\\Temp', 'compat_opts': set(), 'http_headers': {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.15 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-us,en;q=0.5', 'Sec-Fetch-Mode': 'navigate'}} | |
[debug] Python 3.12.0 (CPython AMD64 64bit) - Windows-11-10.0.22631-SP0 (OpenSSL 3.0.11 19 Sep 2023) | |
[debug] exe versions: ffmpeg 6.1.1-full_build-www.gyan.dev (setts), ffprobe 6.1.1-full_build-www.gyan.dev | |
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.42.0, urllib3-2.2.1, websockets-12.0 | |
[debug] Proxy map: {} | |
[debug] Request Handlers: urllib, requests, websockets | |
[debug] Loaded 1798 extractors | |
[vimeo] Extracting URL: https://vimeo.com/803414897 | |
[vimeo] 803414897: Downloading webpage | |
[vimeo] 803414897: Verifying the password | |
[vimeo] 803414897: Downloading JSON metadata | |
[vimeo] 803414897: Downloading JSON metadata | |
[vimeo] 803414897: Downloading jwt token | |
[vimeo] 803414897: Downloading JSON metadata | |
WARNING: [vimeo] Unable to download JSON metadata: HTTP Error 406: Not Acceptable | |
[vimeo] 803414897: Downloading akfire_interconnect_quic m3u8 information | |
[vimeo] 803414897: Downloading akfire_interconnect_quic m3u8 information | |
[vimeo] 803414897: Downloading fastly_skyfire m3u8 information | |
[vimeo] 803414897: Downloading fastly_skyfire m3u8 information | |
[vimeo] 803414897: Downloading akfire_interconnect_quic MPD information | |
[vimeo] 803414897: Downloading akfire_interconnect_quic MPD information | |
[vimeo] 803414897: Downloading fastly_skyfire MPD information | |
[vimeo] 803414897: Downloading fastly_skyfire MPD information | |
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source | |
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, lang, vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, id | |
[info] 803414897: Downloading 1 format(s): dash-fastly_skyfire_sep-video-e2676fc5+dash-fastly_skyfire_sep-audio-2b1418dd | |
[debug] Invoking dashsegments downloader on "https://skyfire.vimeocdn.com/1710004688-0x0ef7cfc84af25b049d056dc5d2b403c6af84ad78/48e158c9-7a74-4bf5-a2f0-e19ba0673e7a/sep/video/68e3f91f,7a54551f,c4fe8a98,e2676fc5,fdc97a43/audio/170f8736,191504b7,2b1418dd/master.mpd?base64_init=1&query_string_ranges=1" | |
[dashsegments] Total fragments: 1161 | |
[dashsegments] Fragment downloads will be delegated to aria2c | |
[download] Destination: D:\Desktop\vimeo\Bulk-Private-Vimeo-Downloader\output_videos\Teleseminario. Recursos y estrategias para tratar los modos verbales, con Lourdes Miquel. (dash-fastly_skyfire_sep-video-e2676fc5+dash-fastly_skyfire_sep-audio-2b1418dd).fdash-fastly_skyfire_sep-video-e2676fc5.mp4 | |
[debug] File locking is not supported. Proceeding without locking | |
[debug] aria2c command line: aria2c -c --no-conf "--console-log-level=warn" "--summary-interval=0" "--download-result=hide" "--http-accept-gzip=true" "--file-allocation=none" -x16 -j16 -s16 "--allow-overwrite=true" "--allow-piece-length-change=true" --header "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.15 Safari/537.36" --header "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header "Accept-Language: en-us,en;q=0.5" --header "Sec-Fetch-Mode: navigate" -x 16 -s 16 -k 5M "--max-concurrent-downloads=16" --dir "D:\Desktop\vimeo\Bulk-Private-Vimeo-Downloader\output_videos\" "--auto-file-renaming=false" "--uri-selector=inorder" -i "D:\Desktop\vimeo\Bulk-Private-Vimeo-Downloader\output_videos\Teleseminario. Recursos y estrategias para tratar los modos verbales, con Lourdes Miquel. (dash-fastly_skyfire_sep-video-e2676fc5+dash-fastly_skyfire_sep-audio-2b1418dd).fdash-fastly_skyfire_sep-video-e2676fc5.mp4.part.frag.urls" | |
Exception caught | |
Exception: [download_helper.cc:562] errorCode=1 Failed to open the file D:\Desktop\vimeo\Bulk-Private-Vimeo-Downloader\output_videos\Teleseminario. Recursos y estrategias para tratar los modos verbales, con Lourdes Miquel. (dash-fastly_skyfire_sep-video-e2676fc5+dash-fastly_skyfire_sep-audio-2b1418dd).fdash-fastly_skyfire_sep-video-e2676fc5.mp4.part.frag.urls, cause: File not found or it is a directory | |
ERROR: Unable to open fragment 0; [Errno 2] No such file or directory: 'D:\\Desktop\\vimeo\\Bulk-Private-Vimeo-Downloader\\output_videos\\Teleseminario. Recursos y estrategias para tratar los modos verbales, con Lourdes Miquel. (dash-fastly_skyfire_sep-video-e2676fc5+dash-fastly_skyfire_sep-audio-2b1418dd).fdash-fastly_skyfire_sep-video-e2676fc5.mp4.part-Frag0' | |
Traceback (most recent call last): | |
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\utils\_utils.py", line 591, in sanitize_open | |
raise LockingUnsupportedError() | |
yt_dlp.utils.LockingUnsupportedError: File locking is not supported | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\downloader\external.py", line 177, in _call_downloader | |
src, _ = self.sanitize_open(fragment_filename, 'rb') | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\downloader\common.py", line 245, in wrapper | |
retry.error_callback(err, 1, 0) | |
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\downloader\common.py", line 231, in error_callback | |
return RetryManager.report_retry( | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\utils\_utils.py", line 5054, in report_retry | |
raise e | |
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\downloader\common.py", line 240, in wrapper | |
return func(self, *args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\downloader\common.py", line 251, in sanitize_open | |
f, filename = sanitize_open(filename, open_mode) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "C:\Users\username\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\utils\_utils.py", line 594, in sanitize_open | |
stream = open(filename, open_mode) | |
^^^^^^^^^^^^^^^^^^^^^^^^^ | |
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\Desktop\\vimeo\\Bulk-Private-Vimeo-Downloader\\output_videos\\Teleseminario. Recursos y estrategias para tratar los modos verbales, con Lourdes Miquel. (dash-fastly_skyfire_sep-video-e2676fc5+dash-fastly_skyfire_sep-audio-2b1418dd).fdash-fastly_skyfire_sep-video-e2676fc5.mp4.part-Frag0' | |
Error downloading https://vimeo.com/803414897: ERROR: Unable to open fragment 0; [Errno 2] No such file or directory: 'D:\\Desktop\\vimeo\\Bulk-Private-Vimeo-Downloader\\output_videos\\Teleseminario. Recursos y estrategias para tratar los modos verbales, con Lourdes Miquel. (dash-fastly_skyfire_sep-video-e2676fc5+dash-fastly_skyfire_sep-audio-2b1418dd).fdash-fastly_skyfire_sep-video-e2676fc5.mp4.part-Frag0' | |
Traceback (most recent call last): | |
File "D:\Desktop\vimeo\Bulk-Private-Vimeo-Downloader\vimeo-bulk-downloader.py", line 62, in <module> | |
os.remove(file_path) | |
PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'D:\\Desktop\\vimeo\\Bulk-Private-Vimeo-Downloader\\output_videos\\Teleseminario. Recursos y estrategias para tratar los modos verbales, con Lourdes Miquel. (dash-fastly_skyfire_sep-video-e2676fc5+dash-fastly_skyfire_sep-audio-2b1418dd).fdash-fastly_skyfire_sep-video-e2676fc5.mp4.part' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment