summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Rowlands <peter@pmrowla.com>2016-05-08 10:02:19 +0900
committerPeter Rowlands <peter@pmrowla.com>2016-05-08 10:02:19 +0900
commit3452c3a27c2bfd278746314cda4247c2226a35f3 (patch)
tree27184847fd766f5a282bcab1a205a190e084049e
parent81f35fee2fd2b58d909887aaa7667310a4d65759 (diff)
downloadyoutube-dl-3452c3a27c2bfd278746314cda4247c2226a35f3.tar.gz
youtube-dl-3452c3a27c2bfd278746314cda4247c2226a35f3.tar.xz
youtube-dl-3452c3a27c2bfd278746314cda4247c2226a35f3.zip
update tests
-rw-r--r--youtube_dl/extractor/afreecatv.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/youtube_dl/extractor/afreecatv.py b/youtube_dl/extractor/afreecatv.py
index 4ebc61bae..b90095881 100644
--- a/youtube_dl/extractor/afreecatv.py
+++ b/youtube_dl/extractor/afreecatv.py
@@ -30,7 +30,7 @@ class AfreecaTVIE(InfoExtractor):
             'id': '36164052',
             'ext': 'mp4',
             'title': '데일리 에이프릴 요정들의 시상식!',
-            'thumbnail': 're:^https?://videoimg.afreecatv.com/.*$',
+            'thumbnail': 're:^https?://(?:video|st)img.afreecatv.com/.*$',
             'uploader': 'dailyapril',
             'uploader_id': 'dailyapril',
             'upload_date': '20160503',
@@ -40,7 +40,7 @@ class AfreecaTVIE(InfoExtractor):
         'info_dict': {
             'id': '36153164',
             'title': "BJ유트루와 함께하는 '팅커벨 메이크업!'",
-            'thumbnail': 're:^https?://videoimg.afreecatv.com/.*$',
+            'thumbnail': 're:^https?://(?:video|st)img.afreecatv.com/.*$',
             'uploader': 'dailyapril',
             'uploader_id': 'dailyapril',
         },
@@ -62,6 +62,9 @@ class AfreecaTVIE(InfoExtractor):
                 'upload_date': '20160502',
             },
         }],
+    }, {
+        'url': 'http://www.afreecatv.com/player/Player.swf?szType=szBjId=djleegoon&nStationNo=11273158&nBbsNo=13161095&nTitleNo=36327652',
+        'only_matching': True,
     }]
 
     @staticmethod