Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Fix redgifs nesting folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Dec 6, 2023
1 parent 2034994 commit d930d24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.0.65"
__version__ = "5.0.66"
6 changes: 2 additions & 4 deletions cyberdrop_dl/scraper/crawlers/redgifs_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@ async def post(self, scrape_item: ScrapeItem) -> None:
link = URL(links["sd"])

filename, ext = await get_filename_and_ext(link.name)
scrape_item.part_of_album = True
scrape_item.possible_datetime = date
await scrape_item.add_to_parent_title(title)
await self.handle_file(link, scrape_item, filename, ext)
new_scrape_item = await self.create_scrape_item(scrape_item, link, title, True, date)
await self.handle_file(link, new_scrape_item, filename, ext)

"""~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"""

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"
version = "5.0.65"
version = "5.0.66"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit d930d24

Please sign in to comment.