about summary refs log tree commit diff
path: root/youtube_dl/extractor/acast.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-02-01 03:08:46 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-02-01 03:08:46 +0800
commit9934fe76be616cf468038a6b04771b3fcc514765 (patch)
tree5d08033bc0cdc5638d5fc4870c1f02487c485639 /youtube_dl/extractor/acast.py
parenta8aad210019b50540cf1bfd28390b7e7f2573a31 (diff)
downloadyoutube-dl-9934fe76be616cf468038a6b04771b3fcc514765.tar.gz
youtube-dl-9934fe76be616cf468038a6b04771b3fcc514765.tar.xz
youtube-dl-9934fe76be616cf468038a6b04771b3fcc514765.zip
[acast] Remove ACastBaseIE
No longer necessary as _API_BASE_URL is used by ACastChannelIE only
Diffstat (limited to 'youtube_dl/extractor/acast.py')
-rw-r--r--youtube_dl/extractor/acast.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/youtube_dl/extractor/acast.py b/youtube_dl/extractor/acast.py
index f2465f8f8..92eee8119 100644
--- a/youtube_dl/extractor/acast.py
+++ b/youtube_dl/extractor/acast.py
@@ -8,11 +8,7 @@ from ..compat import compat_str
 from ..utils import int_or_none
 
 
-class ACastBaseIE(InfoExtractor):
-    _API_BASE_URL = 'https://www.acast.com/api/'
-
-
-class ACastIE(ACastBaseIE):
+class ACastIE(InfoExtractor):
     IE_NAME = 'acast'
     _VALID_URL = r'https?://(?:www\.)?acast\.com/(?P<channel>[^/]+)/(?P<id>[^/#?]+)'
     _TEST = {
@@ -49,7 +45,7 @@ class ACastIE(ACastBaseIE):
         }
 
 
-class ACastChannelIE(ACastBaseIE):
+class ACastChannelIE(InfoExtractor):
     IE_NAME = 'acast:channel'
     _VALID_URL = r'https?://(?:www\.)?acast\.com/(?P<id>[^/#?]+)'
     _TEST = {
@@ -61,6 +57,7 @@ class ACastChannelIE(ACastBaseIE):
         },
         'playlist_mincount': 20,
     }
+    _API_BASE_URL = 'https://www.acast.com/api/'
 
     @classmethod
     def suitable(cls, url):