22 Commits

Author SHA1 Message Date
John Hawkinson
cb2e9ec69e Use subsidiary page's media ID, not parent page
Video IDs should be based on the unique ID of the video, not the
meeting ID of the parent page that links to the media
page. Unfortunately we don't learn the media ID until after
downloading the first page.
2016-10-10 02:24:39 -04:00
John Hawkinson
87af84de37 Leverage JWPlatformBase instead of Generic
Per @yan12125's suggestion:
* Redefine _find_jwplayer_data() to use the SetupJWPlayer RE that's IQM2-specific
* Retreive the 2ndary webpage on our own
* Search for the title just like generic does
2016-10-10 02:12:44 -04:00
John Hawkinson
c1ce8deed8 re-fill _TESTS (whitespace) 2016-10-10 01:57:56 -04:00
John Hawkinson
01845abc92 Remove verbose printing
It should move to YoutubeDL.process_ie_result per @yan12125,
future pull request forthcoming.
2016-10-09 09:18:23 -04:00
John Hawkinson
6589917a0b Remove #'d debugging per @yan12125 2016-10-09 09:15:52 -04:00
John Hawkinson
8d8acd193e Use _match_id() instead of re.match()
Oops, when I created this extractor I copied the sample code from the
2014 manpage on my system, thus missing 4bc77c8417ca0340d09dcebb311d06aa7d5ba0ac's
introduction of the _match_id() helper function.
2016-10-09 08:00:15 -04:00
John Hawkinson
f46aea8404 remove blank line 2016-10-08 23:12:37 -04:00
John Hawkinson
2cc84715bc Set to_generic -> True to suppress fallback msg 2016-10-08 23:11:07 -04:00
John Hawkinson
9a2ed02b65 debugging print -> self.to_screen() 2016-10-08 22:46:09 -04:00
John Hawkinson
f8eeb2b25a Some instances don't have downloadable video
E.g. somervillecityma.iqm2.com only has the JWPlayer video.
Makes a better test case, so add it as the first.
2016-10-08 21:01:43 -04:00
John Hawkinson
0bdb0c707b Condense comments, distribute 2016-10-08 19:38:28 -04:00
John Hawkinson
077bf26371 Use url_result instead of instance of GenericIE() 2016-10-08 19:31:50 -04:00
John Hawkinson
e6a1522743 Tighten up regex comment 2016-10-08 19:23:59 -04:00
John Hawkinson
71fbddb78a Use (?i) for case-insensitivity in URLs 2016-10-08 19:21:33 -04:00
John Hawkinson
e468f91968 Move test cases from comment to _TESTS 2016-10-08 19:17:32 -04:00
John Hawkinson
78210b31fa copyedit comments 2016-10-06 01:51:06 -04:00
John Hawkinson
021c07f81a Comment verbatim example of <div id=VideoPanelInner/> 2016-10-06 01:42:30 -04:00
John Hawkinson
e2135e8791 Handle relative URLs with urlparse.urljoin() 2016-10-06 01:38:25 -04:00
John Hawkinson
9adff20bb5 strip unused title= code 2016-10-06 01:33:34 -04:00
John Hawkinson
841b2af158 strip unnecessary comments from template 2016-10-06 01:30:44 -04:00
John Hawkinson
bca0b731c4 Case-insensitive URL match 2016-10-06 01:29:58 -04:00
John Hawkinson
70d117053d [IQM2] Add new extractor
first cut
2016-10-06 01:09:53 -04:00