From: Sergey M․ Date: Sat, 19 Dec 2015 13:59:00 +0000 (+0600) Subject: [toggle] Rename to toggle X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=cc0f378d5429225caf0477f5d10b342b1ef136d5;p=youtube-dl.git [toggle] Rename to toggle --- 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 similarity index 99% rename from youtube_dl/extractor/togglesg.py rename to 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[0-9]+)' _TESTS = [{