projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve some _VALID_URLs
[youtube-dl]
/
youtube_dl
/
extractor
/
camdemy.py
diff --git
a/youtube_dl/extractor/camdemy.py
b/youtube_dl/extractor/camdemy.py
index 268c34392468e1b145e893a55496ad7bbb728d41..d4e6fbdce029b8267450b9d50d3b41556a47664d 100644
(file)
--- a/
youtube_dl/extractor/camdemy.py
+++ b/
youtube_dl/extractor/camdemy.py
@@
-112,7
+112,7
@@
class CamdemyIE(InfoExtractor):
class CamdemyFolderIE(InfoExtractor):
class CamdemyFolderIE(InfoExtractor):
- _VALID_URL = r'https?://
www.camdemy
.com/folder/(?P<id>\d+)'
+ _VALID_URL = r'https?://
(?:www\.)?camdemy\
.com/folder/(?P<id>\d+)'
_TESTS = [{
# links with trailing slash
'url': 'http://www.camdemy.com/folder/450',
_TESTS = [{
# links with trailing slash
'url': 'http://www.camdemy.com/folder/450',