jbsparrow / CyberDropDownloader

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

[BUG] Coomer Scraper #136

Closed ElyFura closed 1 month ago

ElyFura commented 1 month ago

Describe the bug Coomer links fail to scrape To Help Reproduce Steps to help reproduce the behavior:

  1. Put a Coomer link in URL.txt
  2. Start the Download

Screenshots If applicable, add screenshots to help explain your problem.

Setup Information

Downloader.log file

ERROR    : 2024-09-30 17:16:52,891 : utilities.py:114 : Scrape Failed: https://coomer.su/fansly/user/285120431852101632 (CoomerCrawler.create_new_scrape_item() got an unexpected keyword argument 'add_parent')
ERROR    : 2024-09-30 17:16:52,892 : utilities.py:114 : Traceback (most recent call last):
  File "C:\Users\xxx\Desktop\cyberdrop\venv\Lib\site-packages\cyberdrop_dl\utils\utilities.py", line 72, in wrapper
    return await func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\xxx\Desktop\cyberdrop\venv\Lib\site-packages\cyberdrop_dl\scraper\crawlers\coomer_crawler.py", line 95, in handle_post_content
    await handle_file(file)
  File "C:\Users\xxx\Desktop\cyberdrop\venv\Lib\site-packages\cyberdrop_dl\scraper\crawlers\coomer_crawler.py", line 89, in handle_file
    await self.create_new_scrape_item(link, scrape_item, user_str, post_title, post_id, date, add_parent = scrape_item.url.joinpath("post", post_id))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: CoomerCrawler.create_new_scrape_item() got an unexpected keyword argument 'add_parent'