From: Remita Amine Date: Thu, 26 Jan 2017 18:15:43 +0000 (+0100) Subject: [aenetworks] fix season episodes extraction(fixes #11669) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=b51a4ebed45a3944c02bb3c36778630fd9306de7;p=youtube-dl [aenetworks] fix season episodes extraction(fixes #11669) --- diff --git a/youtube_dl/extractor/aenetworks.py b/youtube_dl/extractor/aenetworks.py index c5e079a40..c97317400 100644 --- a/youtube_dl/extractor/aenetworks.py +++ b/youtube_dl/extractor/aenetworks.py @@ -87,7 +87,7 @@ class AENetworksIE(AENetworksBaseIE): self._html_search_meta('aetn:SeriesTitle', webpage)) elif url_parts_len == 2: entries = [] - for episode_item in re.findall(r'(?s)]+class="[^"]*episode-item[^"]*"[^>]*>', webpage): + for episode_item in re.findall(r'(?s)<[^>]+class="[^"]*(?:episode|program)-item[^"]*"[^>]*>', webpage): episode_attributes = extract_attributes(episode_item) episode_url = compat_urlparse.urljoin( url, episode_attributes['data-canonical'])