mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 08:47:41 +00:00
style checks
This commit is contained in:
parent
acea8f31d4
commit
a87561248a
1 changed files with 11 additions and 11 deletions
|
@ -4,12 +4,13 @@ from __future__ import unicode_literals
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
ExtractorError,
|
ExtractorError,
|
||||||
clean_html,
|
|
||||||
try_get,
|
|
||||||
)
|
)
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
||||||
class CanalrcnIE(InfoExtractor):
|
class CanalrcnIE(InfoExtractor):
|
||||||
|
"""Information extractor for canalrcn.com"""
|
||||||
|
|
||||||
_VALID_URL = r'https?://(?:www\.)?canalrcn\.com/(?:[^/]+/)+(?P<id>[^/?&#]+)'
|
_VALID_URL = r'https?://(?:www\.)?canalrcn\.com/(?:[^/]+/)+(?P<id>[^/?&#]+)'
|
||||||
|
|
||||||
# Specify geo-restriction
|
# Specify geo-restriction
|
||||||
|
@ -63,7 +64,6 @@ class CanalrcnIE(InfoExtractor):
|
||||||
embed_url,
|
embed_url,
|
||||||
'dailymotion id'
|
'dailymotion id'
|
||||||
)
|
)
|
||||||
|
|
||||||
# geo-restriction handling
|
# geo-restriction handling
|
||||||
self.raise_geo_restricted(
|
self.raise_geo_restricted(
|
||||||
msg='This video is only available in Colombia',
|
msg='This video is only available in Colombia',
|
||||||
|
|
Loading…
Reference in a new issue