Browse Source
[downloader/hls] Fix total fragments count when ad fragments exist
master
Sergey M․
7 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
0 deletions
-
youtube_dl/downloader/hls.py
|
|
@ -88,6 +88,7 @@ class HlsFD(FragmentFD): |
|
|
|
if line.startswith('#'): |
|
|
|
if anvato_ad(line): |
|
|
|
ad_frags += 1 |
|
|
|
ad_frag_next = True |
|
|
|
continue |
|
|
|
if ad_frag_next: |
|
|
|
ad_frag_next = False |
|
|
|