diff options
author | Remita Amine <remitamine@gmail.com> | 2017-01-26 19:15:43 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2017-01-26 19:15:43 +0100 |
commit | b51a4ebed45a3944c02bb3c36778630fd9306de7 (patch) | |
tree | 8ee9801f834d07b42510fd2c87454f7b266e41ae /youtube_dl/extractor | |
parent | 9463637887ba784e3499410ab0945dcd68002bc1 (diff) |
[aenetworks] fix season episodes extraction(fixes #11669)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/aenetworks.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)<div[^>]+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']) |