mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-02-06 10:09:50 +00:00
move toplevel comment into IE_DESC
and move metadata comment further down.
This commit is contained in:
parent
0a2d66088c
commit
9ee9db9f9e
@ -8,15 +8,10 @@ from ..compat import compat_urlparse
|
|||||||
from .jwplatform import JWPlatformBaseIE
|
from .jwplatform import JWPlatformBaseIE
|
||||||
from ..utils import js_to_json
|
from ..utils import js_to_json
|
||||||
|
|
||||||
# IQM2 aka Accela stores livestreamed video from municipal meetings.
|
|
||||||
|
|
||||||
# No metadata is retrieved, as that would require finding a metadata
|
|
||||||
# URL and retreiving a 3rd HTTP resource.
|
|
||||||
|
|
||||||
# Contributed by John Hawkinson <jhawk@mit.edu>, 6 Oct 2016.
|
# Contributed by John Hawkinson <jhawk@mit.edu>, 6 Oct 2016.
|
||||||
|
|
||||||
class IQM2IE(JWPlatformBaseIE):
|
class IQM2IE(JWPlatformBaseIE):
|
||||||
|
IE_DESC = 'IQM2 (aka Accela) livestreamed video from municipal meetings'
|
||||||
# We commonly see both iqm2.com and IQM2.com.
|
# We commonly see both iqm2.com and IQM2.com.
|
||||||
_VALID_URL = r'(?i)https?://(?:\w+\.)?iqm2\.com/Citizens/\w+.aspx\?.*MeetingID=(?P<id>[0-9]+)'
|
_VALID_URL = r'(?i)https?://(?:\w+\.)?iqm2\.com/Citizens/\w+.aspx\?.*MeetingID=(?P<id>[0-9]+)'
|
||||||
_TESTS = [
|
_TESTS = [
|
||||||
@ -105,5 +100,8 @@ class IQM2IE(JWPlatformBaseIE):
|
|||||||
r'(?s)<title>(.*?)</title>', webpage, 'video title',
|
r'(?s)<title>(.*?)</title>', webpage, 'video title',
|
||||||
default='video')
|
default='video')
|
||||||
info_dict['title'] = video_title
|
info_dict['title'] = video_title
|
||||||
|
|
||||||
|
# No metadata is retrieved, as that would require finding a metadata
|
||||||
|
# URL and retrieving a 3rd HTTP resource.
|
||||||
|
|
||||||
return info_dict
|
return info_dict
|
||||||
|
Loading…
Reference in New Issue
Block a user