1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-02-06 18:20:02 +00:00

move toplevel comment into IE_DESC

and move metadata comment further down.
This commit is contained in:
John Hawkinson 2017-03-04 19:04:17 -05:00
parent 0a2d66088c
commit 9ee9db9f9e

View File

@ -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 = [
@ -106,4 +101,7 @@ class IQM2IE(JWPlatformBaseIE):
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