mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[aenetworks] fix season episodes extraction(fixes #11669)
This commit is contained in:
parent
9463637887
commit
b51a4ebed4
|
@ -87,7 +87,7 @@ class AENetworksIE(AENetworksBaseIE):
|
||||||
self._html_search_meta('aetn:SeriesTitle', webpage))
|
self._html_search_meta('aetn:SeriesTitle', webpage))
|
||||||
elif url_parts_len == 2:
|
elif url_parts_len == 2:
|
||||||
entries = []
|
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_attributes = extract_attributes(episode_item)
|
||||||
episode_url = compat_urlparse.urljoin(
|
episode_url = compat_urlparse.urljoin(
|
||||||
url, episode_attributes['data-canonical'])
|
url, episode_attributes['data-canonical'])
|
||||||
|
|
Loading…
Reference in a new issue