aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-10 00:27:44 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-10 00:27:44 +0600
commit6dd94d3a79353f8e694efaf2fa27f4bb40227aff (patch)
tree035202ec18501f0b559c5b019a86db1f69a54747
parentf2f89c762a13392e8876c5e9dff8b418c3912ac6 (diff)
[myvi:embed] Rename to myvi
-rw-r--r--youtube_dl/extractor/__init__.py1
-rw-r--r--youtube_dl/extractor/generic.py4
-rw-r--r--youtube_dl/extractor/myvi.py2
3 files changed, 4 insertions, 3 deletions
diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py
index a0e3b333d..a64b457bd 100644
--- a/youtube_dl/extractor/__init__.py
+++ b/youtube_dl/extractor/__init__.py
@@ -323,6 +323,7 @@ from .musicvault import MusicVaultIE
from .muzu import MuzuTVIE
from .myspace import MySpaceIE, MySpaceAlbumIE
from .myspass import MySpassIE
+from .myvi import MyviIE
from .myvideo import MyVideoIE
from .myvidster import MyVidsterIE
from .nationalgeographic import NationalGeographicIE
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index f8d6a8c76..7c604c554 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -37,7 +37,7 @@ from .rutv import RUTVIE
from .tvc import TVCIE
from .sportbox import SportBoxEmbedIE
from .smotri import SmotriIE
-from .myvi import MyviEmbedIE
+from .myvi import MyviIE
from .condenast import CondeNastIE
from .udn import UDNEmbedIE
from .senateisvp import SenateISVPIE
@@ -1427,7 +1427,7 @@ class GenericIE(InfoExtractor):
return self.url_result(smotri_url, 'Smotri')
# Look for embedded Myvi.ru player
- myvi_url = MyviEmbedIE._extract_url(webpage)
+ myvi_url = MyviIE._extract_url(webpage)
if myvi_url:
return self.url_result(myvi_url)
diff --git a/youtube_dl/extractor/myvi.py b/youtube_dl/extractor/myvi.py
index cd80cc177..4c65be122 100644
--- a/youtube_dl/extractor/myvi.py
+++ b/youtube_dl/extractor/myvi.py
@@ -6,7 +6,7 @@ import re
from .vimple import SprutoBaseIE
-class MyviEmbedIE(SprutoBaseIE):
+class MyviIE(SprutoBaseIE):
_VALID_URL = r'''(?x)
https?://
myvi\.(?:ru/player|tv)/