Skip to content

Commit

Permalink
Update cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsparrow committed Nov 16, 2024
1 parent 72fcfd7 commit 7d5795e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cyberdrop_dl/scraper/crawlers/simpcity_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ async def fetch(self, scrape_item: ScrapeItem) -> None:
if not self.logged_in and self.login_attempts == 1:
log("SimpCity login failed. Scraping without an account.", 40)

self.client.client_manager.cookies.update_cookies({name: cookie for name, cookie in self.client.client_manager.cookies.items() if 'ddg' in name}, response_url=self.primary_base_domain)

Check failure on line 82 in cyberdrop_dl/scraper/crawlers/simpcity_crawler.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (Q000)

cyberdrop_dl/scraper/crawlers/simpcity_crawler.py:82:139: Q000 Single quotes found but double quotes preferred

await self.forum(scrape_item)

self.scraping_progress.remove_task(task_id)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl-patched"
version = "5.7.2.dev5"
version = "5.7.2.dev6"
description = "Bulk downloader for multiple file hosts"
authors = ["Jacob B <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 7d5795e

Please sign in to comment.