Browse Source

[pandoratv] Add IE names

Sergey M․ 9 năm trước cách đây
mục cha
commit
72528252e3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      youtube_dl/extractor/pandoratv.py

+ 2 - 0
youtube_dl/extractor/pandoratv.py

@@ -15,6 +15,8 @@ from ..utils import (
 
 
 
 
 class PandoraTVIE(InfoExtractor):
 class PandoraTVIE(InfoExtractor):
+    IE_NAME = 'pandora.tv'
+    IE_DESC = '판도라TV'
     _VALID_URL = r'https?://(?:.+?\.)?channel\.pandora\.tv/channel/video\.ptv\?'
     _VALID_URL = r'https?://(?:.+?\.)?channel\.pandora\.tv/channel/video\.ptv\?'
     _TEST = {
     _TEST = {
         'url': 'http://jp.channel.pandora.tv/channel/video.ptv?c1=&prgid=53294230&ch_userid=mikakim&ref=main&lot=cate_01_2',
         'url': 'http://jp.channel.pandora.tv/channel/video.ptv?c1=&prgid=53294230&ch_userid=mikakim&ref=main&lot=cate_01_2',