projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9463637
)
[aenetworks] fix season episodes extraction(fixes #11669)
author
Remita Amine
<remitamine@gmail.com>
Thu, 26 Jan 2017 18:15:43 +0000
(19:15 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Thu, 26 Jan 2017 18:15:43 +0000
(19:15 +0100)
youtube_dl/extractor/aenetworks.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/aenetworks.py
b/youtube_dl/extractor/aenetworks.py
index c5e079a40e753b6344e63cc6bc65f675c0f58071..c97317400ea1f660674d34ca22f4177365198d59 100644
(file)
--- 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'])