Jules-WinnfieldX / CyberDropDownloader

Bulk Gallery Downloader for Cyberdrop.me and Other Sites
GNU General Public License v3.0
1.61k stars 182 forks source link

[BUG] Bunkr links no longer recognized #209

Closed BeholdTheKing closed 2 years ago

BeholdTheKing commented 2 years ago

When I paste links into the URL txt document like always, and the software scrapes the links, bunkr links no longer work. The exact error message I receive now is

"No links found, check the URL.txt If the link works in your web browser, please open an issue ticket with me. This program does not currently support password protected albums."

I have the latest version of the software as I tried to download it again only to realize it's the same one I have.

I have Windows 11 if that's relevant.

Jules-WinnfieldX commented 2 years ago

I'd need to see the downloader.log to be able to really tell anything.

BeholdTheKing commented 2 years ago

I'd need to see the downloader.log to be able to really tell anything.

This is what it says in the log after trying to download from a public Bunkr album:

2022-09-08 20:17:51,196:DEBUG:selector_events:selector_events.py:54:Using selector: SelectSelector 2022-09-08 20:17:51,228:DEBUG:base_functions:base_functions.py:46:We are running version 2.26.9 of Cyberdrop Downloader 2022-09-08 20:17:51,228:DEBUG:main:main.py:63:Starting downloader with args: {'input_file': WindowsPath('URLs.txt'), 'output_folder': WindowsPath('Downloads'), 'log_file': 'downloader.log', 'db_file': 'download_history.sqlite', 'threads': 0, 'attempts': 10, 'disable_attempt_limit': False, 'include_id': False, 'exclude_videos': False, 'exclude_images': False, 'exclude_audio': False, 'exclude_other': False, 'ignore_history': False, 'separate_posts': False, 'thotsbay_username': None, 'thotsbay_password': '!REDACTED!', 'skip_anonfiles': False, 'skip_bunkr': False, 'skip_coomer': False, 'skip_cyberdrop': False, 'skip_cyberfile': False, 'skip_erome': False, 'skip_gfycat': False, 'skip_gofile': False, 'skip_jpgchurch': False, 'skip_kemono': False, 'skip_pixeldrain': False, 'skip_pixl': False, 'skip_putmega': False, 'skip_redgif': False, 'skip_saint': False, 'links': []} 2022-09-08 20:17:51,230:DEBUG:base_functions:base_functions.py:46:Starting Scrape 2022-09-08 20:17:51,234:DEBUG:base_functions:base_functions.py:46:Starting scrape of https://bunkr.is/a/5ggM8ewp 2022-09-08 20:17:52,444:DEBUG:Bunkr_Spider:Bunkr_Spider.py:57:Error encountered while handling https://bunkr.is/a/5ggM8ewp Traceback (most recent call last): File "C:\Users\ceo\AppData\Local\Programs\Python\Python310\lib\site-packages\cyberdrop_dl\utils\crawlers\Bunkr_Spider.py", line 46, in fetch for file in json_obj['files']: KeyError: 'files' 2022-09-08 20:17:52,446:DEBUG:base_functions:base_functions.py:46:Error scraping https://bunkr.is/a/5ggM8ewp 2022-09-08 20:17:52,447:DEBUG:Bunkr_Spider:Bunkr_Spider.py:59:'files' 2022-09-08 20:17:52,447:DEBUG:base_functions:base_functions.py:46:Finished scrape of https://bunkr.is/a/5ggM8ewp 2022-09-08 20:17:52,449:ERROR:main:main.py:86:ValueError No links 2022-09-08 20:17:52,449:DEBUG:base_functions:base_functions.py:46:No links found, check the URL.txt If the link works in your web browser, please open an issue ticket with me. 2022-09-08 20:17:52,450:DEBUG:base_functions:base_functions.py:46:This program does not currently support password protected albums. 2022-09-08 20:17:52,452:DEBUG:sql_helper:sql_helper.py:88:Successfully closed sqlite database connection

Jules-WinnfieldX commented 2 years ago

2022-09-08 20:17:51,196:DEBUG:selector_events:selector_events.py:54:Using selector: SelectSelector 2022-09-08 20:17:51,228:DEBUG:base_functions:base_functions.py:46:We are running version 2.26.9 of Cyberdrop Downloader

You are very out of date with the program (current version is 3.3.15, you are on 2.26.9)

You need to update the program, run pip install --upgrade cyberdrop-dl in a command prompt window

BeholdTheKing commented 2 years ago

It's saying that "pip" is not recognized as an internal or external command, operable program or batch file.

Jules-WinnfieldX commented 2 years ago

So the issue is your python install and things not being correctly recognized by path. Make sure you aren't running anything as admin. If that doesn't work, uninstall all python versions and when reinstalling click the "add to path" button seen in the readme.

BeholdTheKing commented 2 years ago

Reinstalling Python and installing the new version that way fixed my issue, thanks!