[pinterest] do not force 'm3u8_native' for video downloads (#2436)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2016-2021 Mike Fährmann
|
# Copyright 2016-2022 Mike Fährmann
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License version 2 as
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
@@ -54,7 +54,6 @@ class PinterestExtractor(Extractor):
|
|||||||
if pin["extension"] == "m3u8":
|
if pin["extension"] == "m3u8":
|
||||||
url = "ytdl:" + url
|
url = "ytdl:" + url
|
||||||
pin["extension"] = "mp4"
|
pin["extension"] = "mp4"
|
||||||
pin["_ytdl_extra"] = {"protocol": "m3u8_native"}
|
|
||||||
|
|
||||||
yield Message.Url, url, pin
|
yield Message.Url, url, pin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user