Skip to content

Commit

Permalink
increase image size for pepper-deals
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Brugger committed Aug 23, 2023
1 parent 54e9bbc commit a4d2b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rss/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def parse_deal(cls, entry: FeedParserDict) -> DealModel:
deal.description = description

try:
deal.image_url = entry['media_content'][0]['url']
deal.image_url = (entry['media_content'][0]['url']).replace('150x150/qt/55', '768x768/qt/60')
except (KeyError, IndexError):
pass

Expand Down

0 comments on commit a4d2b06

Please sign in to comment.