Skip to content

Commit

Permalink
Increase invidious plugin timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
dyeray committed Oct 20, 2023
1 parent 5c4c55c commit af29718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/invidious.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, options: dict[str, str]):
super().__init__({'domain': os.getenv('INVIDIOUS_DOMAIN'), **options})

def get_feed(self, feed_id):
response = httpx.get(f"https://{self.options.domain}/feed/{self.options.feed_type}/{feed_id}", timeout=10)
response = httpx.get(f"https://{self.options.domain}/feed/{self.options.feed_type}/{feed_id}", timeout=15)
sel = Selector(response.text)
title = sel.css('feed > title::text').get()
return PodcastFeed(
Expand Down

0 comments on commit af29718

Please sign in to comment.