style checks

This commit is contained in:
ryanstep 2024-12-09 21:03:52 -05:00
parent acea8f31d4
commit a87561248a

View File

@ -4,12 +4,13 @@ from __future__ import unicode_literals
from .common import InfoExtractor
from ..utils import (
ExtractorError,
clean_html,
try_get,
)
import json
class CanalrcnIE(InfoExtractor):
"""Information extractor for canalrcn.com"""
_VALID_URL = r'https?://(?:www\.)?canalrcn\.com/(?:[^/]+/)+(?P<id>[^/?&#]+)'
# Specify geo-restriction
@ -63,8 +64,7 @@ class CanalrcnIE(InfoExtractor):
embed_url,
'dailymotion id'
)
#geo-restriction handling
# geo-restriction handling
self.raise_geo_restricted(
msg='This video is only available in Colombia',
countries=self._GEO_COUNTRIES