Commit Graph

11 Commits (772acaf31f4614d390a445fe4c0d4e533c165774)

Author SHA1 Message Date
Sergey M․ 4211e1941b [videomega] Add shortcut to _VALID_URL
Sergey M․ 4bdfef5a18 [videomega] Add tests
Sergey M․ 8a37f53685 [videomega] Revert iframe URL
Sergey M․ 4e1ad6e9a8 [videomega] Extend _VALID_URL and improve extraction (Closes )
Naglis Jonaitis eecc0685c9 [videomega] Fix extraction and update test (Fixes )
Jaime Marquínez Ferrándiz e1554a407d [extractors] Use http_headers for setting the User-Agent and the Referer
Naglis Jonaitis bb6e38787d [videomega] Fix extraction (Closes )
Naglis Jonaitis a45c0a5d67 [videomega] 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
Philipp Hagemeister 0e59b9fffb [videomega] Simplify ()
* Use raw strings (r'foo') for regular expressions (enables highlighting and avoids some errors).
* title is always true-ish
Naglis Jonaitis 67abbe9527 [videomega] Add new extractor. Closes