summary refs log tree commit diff
diff options
context:
space:
mode:
authord2au <d2au.dev@gmail.com>2020-02-14 00:22:00 +1030
committerGitHub <noreply@github.com>2020-02-13 14:52:00 +0100
commitd6aa1db7ed0cd70570f1a01c7fc25a49e153d15b (patch)
tree5d3a59e51834d4f82d5b854ece04d23252cdb98c
parentf377edec067a05365824434d0c44c0f22d797190 (diff)
downloadyoutube-dl-d6aa1db7ed0cd70570f1a01c7fc25a49e153d15b.tar.gz
youtube-dl-d6aa1db7ed0cd70570f1a01c7fc25a49e153d15b.tar.xz
youtube-dl-d6aa1db7ed0cd70570f1a01c7fc25a49e153d15b.zip
[abc:iview] Support 720p (#22907) (#22921)
-rw-r--r--youtube_dl/extractor/abc.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/youtube_dl/extractor/abc.py b/youtube_dl/extractor/abc.py
index 4ac323bf6..6637f4f35 100644
--- a/youtube_dl/extractor/abc.py
+++ b/youtube_dl/extractor/abc.py
@@ -110,17 +110,17 @@ class ABCIViewIE(InfoExtractor):
 
     # ABC iview programs are normally available for 14 days only.
     _TESTS = [{
-        'url': 'https://iview.abc.net.au/show/ben-and-hollys-little-kingdom/series/0/video/ZX9371A050S00',
-        'md5': 'cde42d728b3b7c2b32b1b94b4a548afc',
+        'url': 'https://iview.abc.net.au/show/gruen/series/11/video/LE1927H001S00',
+        'md5': '67715ce3c78426b11ba167d875ac6abf',
         'info_dict': {
-            'id': 'ZX9371A050S00',
+            'id': 'LE1927H001S00',
             'ext': 'mp4',
-            'title': "Gaston's Birthday",
-            'series': "Ben And Holly's Little Kingdom",
-            'description': 'md5:f9de914d02f226968f598ac76f105bcf',
-            'upload_date': '20180604',
-            'uploader_id': 'abc4kids',
-            'timestamp': 1528140219,
+            'title': "Series 11 Ep 1",
+            'series': "Gruen",
+            'description': 'md5:52cc744ad35045baf6aded2ce7287f67',
+            'upload_date': '20190925',
+            'uploader_id': 'abc1',
+            'timestamp': 1569445289,
         },
         'params': {
             'skip_download': True,
@@ -148,7 +148,7 @@ class ABCIViewIE(InfoExtractor):
                 'hdnea': token,
             })
 
-        for sd in ('sd', 'sd-low'):
+        for sd in ('720', 'sd', 'sd-low'):
             sd_url = try_get(
                 stream, lambda x: x['streams']['hls'][sd], compat_str)
             if not sd_url: