Commit Graph

29 Commits (7f9134fb2db5559124a0f658bacb6bad54261043)

Author SHA1 Message Date
Sergey M․ ba717dca97 [bandcamp] Modernize
Sergey M․ 1e52776ac3 [bandcamp] Prepend download URL with scheme when necessary (2) ()
Sergey M․ f648e682a7 [bandcamp] Prepend download URL with scheme when necessary (Closes )
Quentin Rameau b524a001d6 [bandcamp] fix video_id parsing (fixes )
Philipp Hagemeister 72c1f8de06 [bandcamp:album] Fix extractor results and associated test
Philipp Hagemeister 834bf069d2 [bandcamp] Correct variable name
Philipp Hagemeister 99c2398bc6 [bandcamp] Use our API to get more stable error messages ()
Philipp Hagemeister cce81f192c [bandcamp:album] Fix title extraction (Fixes )
Philipp Hagemeister 4d144be8b0 [bandcamp:album] Do not match plain Bandcamp URLs ()
The _VALID_URL 1fa174692a is to broad, since it matches everything beginning with bandcamp.com.
Sergey M․ 1fa174692a [bandcamp:album] Make path optional (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
Jouke Waleson 5f6a1245ff PEP8 applied
Philipp Hagemeister 13ba3a6461 [bandcamp:album] Fix test case
Sergey M․ d9bf465200 [bandcamp] Fix id extraction and modernize (Closes )
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).
Sergey M․ 2902d44f99 [bandcamp] Replace maxsplit keyword argument with regular one
Named arguments are not supported by methods implemented in native C (see http://bugs.python.org/issue1176)
codesparkle 79981f039b Fixed test failure in test_all_urls: test_no_duplicates: BandcampAlbumIE inappropriately matched non-album bandcamp links as well.
BandcampIE changed to report full-accuracy duration instead of unnecessarily rounding it to the nearest integer.
Simplified conditionals and parsing a bit. Fixed typos.
Philipp Hagemeister b48f147d5a [bandcamp] Add support for subdomains (Fixes )
Philipp Hagemeister f8b5ab8cfa [bandcamp] Make thumbnail and uploader optional
Fixes 
Jaime Marquínez Ferrándiz 298f16f954 [bandcamp] Fix variable name
Philipp Hagemeister 3798eadccd More unicode literals
Philipp Hagemeister 5ecd3c6a09 [bandcamp] Add support for multiple formats
Philipp Hagemeister 23e6d50d73 [bandcamp] Remove unused variable
Jaime Marquínez Ferrándiz d35dc6d3b5 [bandcamp] move the album test to the album extractor and return a single track instead of a playlist
Philipp Hagemeister f143a42fe6 [bandcamp] Skip album test
Philipp Hagemeister cffa6aa107 [bandcamp] Support trackinfo-style songs (Fixes )
Jaime Marquínez Ferrándiz 0980426559 [bandcamp] add support for albums (reported in )
Philipp Hagemeister 6f5ac90cf3 Move tests to the IE definitions
Philipp Hagemeister 45aef47281 [Bandcamp] move into own file