1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-07 03:33:42 +08:00

Add mobile URL support for Odnoklassniki

This commit is contained in:
aystroganov@gmail.com
2016-01-28 21:41:26 +11:00
Unverified
parent ed7cd1e859
commit c30e37b7d8
+1 -1
View File
@@ -13,7 +13,7 @@ from ..utils import (
class OdnoklassnikiIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?(?:odnoklassniki|ok)\.ru/(?:video(?:embed)?|web-api/video/moviePlayer)/(?P<id>[\d-]+)'
_VALID_URL = r'https?://(?:www|m\.)?(?:odnoklassniki|ok)\.ru/(?:video(?:embed)?|web-api/video/moviePlayer)/(?P<id>[\d-]+)'
_TESTS = [{
# metadata in JSON
'url': 'http://ok.ru/video/20079905452',