Skip to content

Commit

Permalink
[bbc] correct catched exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine committed Mar 2, 2021
1 parent e465b25 commit e1adb3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/bbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ def _real_extract(self, url):
else:
entry['title'] = info['title']
entry['formats'].extend(info['formats'])
except Exception as e:
except ExtractorError as e:
# Some playlist URL may fail with 500, at the same time
# the other one may work fine (e.g.
# http://www.bbc.com/turkce/haberler/2015/06/150615_telabyad_kentin_cogu)
Expand Down

0 comments on commit e1adb3e

Please sign in to comment.