Skip to content

Commit

Permalink
Ruff changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsparrow committed Jan 5, 2025
1 parent 16fef62 commit 53fde72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyberdrop_dl/scraper/crawlers/pixhost_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def gallery(self, scrape_item: ScrapeItem) -> None:
link = image.get("src")
if not link:
continue
link = link.replace('https://t', 'https://img').replace('/thumbs/', '/images/')
link = link.replace("https://t", "https://img").replace("/thumbs/", "/images/")
link = URL(link)
filename, ext = get_filename_and_ext(link.name)
await self.handle_file(link, scrape_item, filename, ext)
Expand Down

0 comments on commit 53fde72

Please sign in to comment.