-
-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pinterest error after dl several inmages #2273
Comments
You need to have yt-dlp or youtube-dl installed to download from pins with videos in them, or you disable those with |
i have both installed as standalone apps. Reinstalled with pip and now all works fine, thanks! |
@mikf Not sure I like this change. I consider a ytdl failure to be something that needs to be addressed immediately. It may be that my version of yt-dlp is out of date and needs to be updated, but I may not know if gallery-dl doesn't make a fuss. |
@ImportTaste This change only affects the error you get when there is no ytdl module to import. Everything else like option parsing and the actual download process stays the same. And there is still an error message, just not a fatal one that prevents downloads after it.
|
Successfully downloadinf several imges and after that got error:
C:\Programs\Gallery-dl>gallery-dl.exe --verbose https://www.pinterest.ru/veneamin0088/wine/
[gallery-dl][debug] Version 1.20.4
[gallery-dl][debug] Python 3.10.2 - Windows-10-10.0.19042-SP0
[gallery-dl][debug] requests 2.27.1 - urllib3 1.26.8
[gallery-dl][debug] Starting DownloadJob for 'https://www.pinterest.ru/veneamin0088/wine/'
[pinterest][debug] Using PinterestBoardExtractor for 'https://www.pinterest.ru/veneamin0088/wine/'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.pinterest.com:443
[urllib3.connectionpool][debug] https://www.pinterest.com:443 "GET /resource/BoardResource/get/?data=%7B%22options%22%3A+%7B%22slug%22%3A+%22wine%22%2C+%22usern
ame%22%3A+%22veneamin0088%22%2C+%22field_set_key%22%3A+%22detailed%22%7D%7D&source_url= HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://www.pinterest.com:443 "GET /resource/BoardFeedResource/get/?data=%7B%22options%22%3A+%7B%22board_id%22%3A+%2253128415598
1279945%22%7D%7D&source_url= HTTP/1.1" 200 None
[pinterest][error] An unexpected error occurred: ModuleNotFoundError - No module named 'youtube_dl'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[pinterest][debug]
Traceback (most recent call last):
File "C:\Users\Vinny\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gallery_dl\ytdl.py", line 20, in import_module
return import("yt_dlp")
ModuleNotFoundError: No module named 'yt_dlp'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Vinny\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gallery_dl\job.py", line 77, in run
self.dispatch(msg)
File "C:\Users\Vinny\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gallery_dl\job.py", line 121, in dispatch
self.handle_url(url, kwdict)
File "C:\Users\Vinny\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gallery_dl\job.py", line 238, in handle_url
if not self.download(url):
File "C:\Users\Vinny\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gallery_dl\job.py", line 361, in download
return downloader.download(url, self.pathfmt)
File "C:\Users\Vinny\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gallery_dl\downloader\ytdl.py", line 42, in download
module = ytdl.import_module(self.config("module"))
File "C:\Users\Vinny\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gallery_dl\ytdl.py", line 22, in import_module
return import("youtube_dl")
ModuleNotFoundError: No module named 'youtube_dl'
The text was updated successfully, but these errors were encountered: