projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for https for all extractors as preventive and future-proof measure
[youtube-dl]
/
youtube_dl
/
extractor
/
firstpost.py
diff --git
a/youtube_dl/extractor/firstpost.py
b/youtube_dl/extractor/firstpost.py
index 298227d5793770c82d8868256d655fa7ea3dc31c..e8936cb2468f78bd2c1b59008a13e9411204380e 100644
(file)
--- a/
youtube_dl/extractor/firstpost.py
+++ b/
youtube_dl/extractor/firstpost.py
@@
-4,7
+4,7
@@
from .common import InfoExtractor
class FirstpostIE(InfoExtractor):
class FirstpostIE(InfoExtractor):
- _VALID_URL = r'http://(?:www\.)?firstpost\.com/[^/]+/.*-(?P<id>[0-9]+)\.html'
+ _VALID_URL = r'http
s?
://(?:www\.)?firstpost\.com/[^/]+/.*-(?P<id>[0-9]+)\.html'
_TEST = {
'url': 'http://www.firstpost.com/india/india-to-launch-indigenous-aircraft-carrier-monday-1025403.html',
_TEST = {
'url': 'http://www.firstpost.com/india/india-to-launch-indigenous-aircraft-carrier-monday-1025403.html',