Commit Graph

12 Commits (628bc4d1e73ddef2b67eb6aba7b642c2e0ea894e)

Author SHA1 Message Date
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
Philipp Hagemeister dcddc10a50 [test_unicode_literals] Arm unicode_literals check
From now on, the line

from __future__ import unicode_literals

should be contained in every single Python file lest we run into any more 2.x/3.x issues.
Going forward, we're likely to develop on 3.x only and would likely miss subtle bugs otherwise.
Philipp Hagemeister b74e86f48a Fix all PEP8 issues except E501
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules
Jouke Waleson 5f6a1245ff PEP8 applied
Philipp Hagemeister 22a6f15061 Move playlist tests to extractors.
From now on, test_download will run these tests. That means we benefit not only from the networking setup in there, but also from the other tests (for example test_all_urls to find problems with _VALID_URLs).
Philipp Hagemeister 3798eadccd More unicode literals
dst c0ade33e16 Correct some extractor _VALID_URL regexes
Jaime Marquínez Ferrándiz 1a62c18f65 [bambuser] Skip the download in the test
It doesn't respect the 'Range' header.
Philipp Hagemeister ce152341a1 [bambuser] Do not test for MD5, seems to be flaky
Jaime Marquínez Ferrándiz 165e3bb67a [bambuser] Add an extractor for channels (closes )
Jaime Marquínez Ferrándiz 72a5b4f702 Add an extractor for bambuser.com ()