[toggle] Rename to toggle
authorSergey M․ <dstftw@gmail.com>
Sat, 19 Dec 2015 13:59:00 +0000 (19:59 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 19 Dec 2015 13:59:00 +0000 (19:59 +0600)
youtube_dl/extractor/__init__.py
youtube_dl/extractor/toggle.py [moved from youtube_dl/extractor/togglesg.py with 99% similarity]

index b88fbcc4d42d20ad6dffe2c2fd50c128abb5a095..fef2cff62bdb5e005b4c4a73be9e2499be00cdeb 100644 (file)
@@ -675,7 +675,7 @@ from .tnaflix import (
     EMPFlixIE,
     MovieFapIE,
 )
-from .togglesg import ToggleSgIE
+from .toggle import ToggleIE
 from .thvideo import (
     THVideoIE,
     THVideoPlaylistIE
similarity index 99%
rename from youtube_dl/extractor/togglesg.py
rename to youtube_dl/extractor/toggle.py
index 22c6c91b9f15529076100ca07b523a9dd52e11b7..c9d6e52e18823a55037860865c39ab134a85fc96 100644 (file)
@@ -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 = [{