1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 07:43:08 +00:00

[ivi] Fix episode number extraction

This commit is contained in:
Sergey M․ 2016-08-22 03:34:27 +07:00
parent cf143c4d97
commit 3d897cc791
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -132,7 +132,7 @@ class IviIE(InfoExtractor):
webpage, 'season number', default=None)) webpage, 'season number', default=None))
episode_number = int_or_none(self._search_regex( episode_number = int_or_none(self._search_regex(
r'<meta[^>]+itemprop="episode"[^>]*>\s*<meta[^>]+itemprop="episodeNumber"[^>]+content="(\d+)', r'[^>]+itemprop="episode"[^>]*>\s*<meta[^>]+itemprop="episodeNumber"[^>]+content="(\d+)',
webpage, 'episode number', default=None)) webpage, 'episode number', default=None))
description = self._og_search_description(webpage, default=None) or self._html_search_meta( description = self._og_search_description(webpage, default=None) or self._html_search_meta(