mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Handling youtube feed brokenness.
This commit is contained in:
parent
e446103392
commit
45a6243bfd
1 changed files with 4 additions and 1 deletions
|
@ -96,7 +96,10 @@ class FetchFeed:
|
|||
return FEED_OK, self.fpf
|
||||
|
||||
if 'youtube.com' in address:
|
||||
youtube_feed = self.fetch_youtube(address)
|
||||
try:
|
||||
youtube_feed = self.fetch_youtube(address)
|
||||
except (requests.adapters.ConnectionError):
|
||||
youtube_feed = None
|
||||
if not youtube_feed:
|
||||
logging.debug(u' ***> [%-30s] ~FRYouTube fetch failed: %s.' %
|
||||
(self.feed.title[:30], address))
|
||||
|
|
Loading…
Add table
Reference in a new issue