Base backend, good to inherit.
Returns thumbnail URL folded from pattern_thumbnail_url and parsed code.
Returns URL folded from pattern_url and parsed code.
Class method to control if passed url is valid for current backend. By default it is done by re_detect regex.
Pattern in which the code is inserted to get thumbnail url.
Example: http://static.myvideo.com/thumbs/%s
Pattern in which the code is inserted.
Example: http://myvideo.com?code=%s
Compiled regex (re.compile()) to search code in URL.
Example: re.compile(r'myvideo\.com/\?code=(?P<code>\w+)')
Compilede regec (re.compile()) to detect, if input URL is valid for current backend.
Example: re.compile(r'^http://myvideo\.com/.*')