Browse Source

[cloudy] New domain name for the test_cloudy_1

I'm sure whether videoraj.ch still works or not, so keep it.
Yen Chi Hsuan 9 năm trước cách đây
mục cha
commit
618c71dc64
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      youtube_dl/extractor/cloudy.py

+ 2 - 2
youtube_dl/extractor/cloudy.py

@@ -19,7 +19,7 @@ from ..utils import (
 class CloudyIE(InfoExtractor):
 class CloudyIE(InfoExtractor):
     _IE_DESC = 'cloudy.ec and videoraj.ch'
     _IE_DESC = 'cloudy.ec and videoraj.ch'
     _VALID_URL = r'''(?x)
     _VALID_URL = r'''(?x)
-        https?://(?:www\.)?(?P<host>cloudy\.ec|videoraj\.ch)/
+        https?://(?:www\.)?(?P<host>cloudy\.ec|videoraj\.(?:ch|to))/
         (?:v/|embed\.php\?id=)
         (?:v/|embed\.php\?id=)
         (?P<id>[A-Za-z0-9]+)
         (?P<id>[A-Za-z0-9]+)
         '''
         '''
@@ -37,7 +37,7 @@ class CloudyIE(InfoExtractor):
             }
             }
         },
         },
         {
         {
-            'url': 'http://www.videoraj.ch/v/47f399fd8bb60',
+            'url': 'http://www.videoraj.to/v/47f399fd8bb60',
             'md5': '7d0f8799d91efd4eda26587421c3c3b0',
             'md5': '7d0f8799d91efd4eda26587421c3c3b0',
             'info_dict': {
             'info_dict': {
                 'id': '47f399fd8bb60',
                 'id': '47f399fd8bb60',