aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-19 19:59:00 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-19 19:59:00 +0600
commitcc0f378d5429225caf0477f5d10b342b1ef136d5 (patch)
tree5dfb84c57c8ae96fb5e95e609d3d8f47b0cf0d60 /youtube_dl
parente33c9cba7c6c9d4a04d749c88ab447a57bcfe423 (diff)
[toggle] Rename to toggle
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/__init__.py2
-rw-r--r--youtube_dl/extractor/toggle.py (renamed from youtube_dl/extractor/togglesg.py)2
2 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py
index b88fbcc4d..fef2cff62 100644
--- a/youtube_dl/extractor/__init__.py
+++ b/youtube_dl/extractor/__init__.py
@@ -675,7 +675,7 @@ from .tnaflix import (
EMPFlixIE,
MovieFapIE,
)
-from .togglesg import ToggleSgIE
+from .toggle import ToggleIE
from .thvideo import (
THVideoIE,
THVideoPlaylistIE
diff --git a/youtube_dl/extractor/togglesg.py b/youtube_dl/extractor/toggle.py
index 22c6c91b9..c9d6e52e1 100644
--- a/youtube_dl/extractor/togglesg.py
+++ b/youtube_dl/extractor/toggle.py
@@ -15,7 +15,7 @@ from ..utils import (
)
-class ToggleSgIE(InfoExtractor):
+class ToggleIE(InfoExtractor):
IE_NAME = 'togglesg'
_VALID_URL = r'https?://video\.toggle\.sg/(?:en|zh)/(?:series|clips|movies)/(?:[^/]+/)+(?P<id>[0-9]+)'
_TESTS = [{