Commit Graph

25 Commits (aebb42d32b608eaffb424e5e7c22f1b68a491e3d)

Author SHA1 Message Date
Sergey M․ c2daf8dfa4 [mixcloud] Use compat_urllib_parse_unquote
Jaime Marquínez Ferrándiz c5826a491b [mixcloud] Simplify url extraction
On the tracks I tested the server number in the url from the webpage is valid
for the mp3 or the m4a file and any other number is invalid, it's a
waste of time to check them.
Jaime Marquínez Ferrándiz cd341b6e06 [mixcloud] Fix extraction of like count (reported in )
Roman Le Négrate aae53774f2 [mixcloud] Try preview server first, then further numbers
Jaime Marquínez Ferrándiz 7a757b7194 [mixcloud] Fix extraction of some metadata
The second test had some wrong info.
I couldn't find the timestamp, so I have removed it.
Roman Le Négrate fa8ce26904 [mixcloud] Fix extraction like-count
Sergey M․ 58ba6c0160 [mixcloud] Fix extraction (Closes )
Sergey M․ 439d9be27d [mixcloud] Remove unused import
Sergey M․ b80505a409 [mixcloud] 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
Jaime Marquínez Ferrándiz 9c1aa1d668 [mixcloud] Fix metadata extraction (fixes )
Philipp Hagemeister 62a164e713 [mixcloud] Output downloading progress
Jaime Marquínez Ferrándiz b4c3c8c172 [mixcloud] Fix metadata extraction (fixes )
Jaime Marquínez Ferrándiz dbc1366b50 [mixcloud] Use a HEAD request when checking if the url is valid
Philipp Hagemeister 57c7411f46 [mixcloud] Shed API dependency ()
Jaime Marquínez Ferrándiz abb82f1ddc [mixcloud] Unquote the track id ()
Jaime Marquínez Ferrándiz 8b286571c3 [mixcloud] Fix _VALID_RE (fixes )
Accept any character except `/` for uploader and the name, caused problems with non ASCII characters
Philipp Hagemeister d0390a0c92 [mixcloud] Use unicode_literals
Philipp Hagemeister dd2535c38a [mixcloud] Fix URL extraction
Jaime Marquínez Ferrándiz 5ffecde73f [mixcloud] Fix track url transformation (fixes )
‘/previews/‘ must be replaced with ‘/c/originals/‘ now.
Jaime Marquínez Ferrándiz cbfc470228 [mixcloud] Try to get the m4a url if the mp3 url fails to download (fixes )
Jaime Marquínez Ferrándiz baa7b1978b Remove the calls to 'compat_urllib_request.urlopen' in a few extractors
Jaime Marquínez Ferrándiz dc65dcbb6d [mixcloud] The description field may be missing (fixes )
Jaime Marquínez Ferrándiz 19e1d35989 [mixcloud] Rewrite extractor (fixes )
Philipp Hagemeister 80cbb6ddbb Move MixCloud into its own file