This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[extractor/common] skip m3u8 manifests protected with Adobe Flash Access
master-ytdl-org
Remita Amine
8 years ago
parent
9dd5408c99
commit
08a00eef79
1 changed files
with
3 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
youtube_dl/extractor/common.py
+ 3
- 0
youtube_dl/extractor/common.py
View File
@ -1208,6 +1208,9 @@ class InfoExtractor(object):
m3u8_doc
,
urlh
=
res
m3u8_doc
,
urlh
=
res
m3u8_url
=
urlh
.
geturl
(
)
m3u8_url
=
urlh
.
geturl
(
)
if
'
#EXT-X-FAXS-CM:
'
in
m3u8_doc
:
# Adobe Flash Access
return
[
]
formats
=
[
self
.
_m3u8_meta_format
(
m3u8_url
,
ext
,
preference
,
m3u8_id
)
]
formats
=
[
self
.
_m3u8_meta_format
(
m3u8_url
,
ext
,
preference
,
m3u8_id
)
]
format_url
=
lambda
u
:
(
format_url
=
lambda
u
:
(
Write
Preview
Loading…
Cancel
Save