Commit Graph

11 Commits (76adc820682b78b67ffc9cb1544807f7e021e73b)

Author SHA1 Message Date
Jaime Marquínez Ferrándiz 36e6f62cd0 Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x ()
Attributes aren't unicode objects, so they couldn't be directly used in info_dict fields (for example '--write-description' doesn't work with bytes).
Sergey M․ c6b68648f4 [bilibili] Show georestriction error
Sergey M․ f98470df69 [bilibili] Fix FutureWarning
Yen Chi Hsuan 6d00a2dcd1 [bilibili] Catch API call failures
JSON are returned in a failed API call
Yen Chi Hsuan b535170b21 [bilibili] Skip assertion if HQ videos not available
Yen Chi Hsuan c4a21bc9db [bilibili] Extract multipart videos (closes )
Yen Chi Hsuan 24e21613b6 [bilibili] Capture the video-not-exist message
Sergey M․ 58a84b8cb6 [bilibili] Fix extraction (Closes )
Philipp Hagemeister 1cc79574fc Fix imports and general cleanup
· Import from compat what comes from compat. Yes, some names are available in utils too, but that's an implementation detail.
· Use _match_id consistently whenever possible
· Fix some outdated tests
· Use consistent valid URL (always match the whole protocol, no ^ at start required)
· Use modern test definitions
Sergey M․ def8b4039f [bilibili] Fix extraction
Philipp Hagemeister 28746fbd59 [bilibili] Add preliminary support ()
The URL http://www.bilibili.tv/video/av636603/index_2.html does not work yet.