youtube: Add support for youtube-nookie.com
I get this kind of URL when copying the URL of "NoScripted" video embeds.
This commit is contained in:
parent
8677d8b183
commit
460574785d
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class YoutubeBackend(BaseBackend, ICapVideo, ICapCollection):
|
|||
CONFIG = BackendConfig(Value('username', label='Email address', default=''),
|
||||
ValueBackendPassword('password', label='Password', default=''))
|
||||
|
||||
URL_RE = re.compile(r'^https?://(?:\w*\.?youtube\.com/(?:watch\?v=|v/)|youtu\.be\/|\w*\.?youtube\.com\/user\/\w+#p\/u\/\d+\/)([^\?&]+)')
|
||||
URL_RE = re.compile(r'^https?://(?:\w*\.?youtube(?:|-nocookie)\.com/(?:watch\?v=|v/)|youtu\.be\/|\w*\.?youtube\.com\/user\/\w+#p\/u\/\d+\/)([^\?&]+)')
|
||||
|
||||
def create_default_browser(self):
|
||||
password = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue