1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-27 10:54:34 +01:00

[picta] Update use api v2 + flake8

This commit is contained in:
oleksis 2020-05-25 03:10:59 -04:00
parent 44aa875818
commit 6f1fa26d0b

View File

@ -64,7 +64,7 @@ class PictaIE(PictaBaseIE):
"uploader": "admin", "uploader": "admin",
"timestamp": 1547656602, "timestamp": 1547656602,
}, },
"params": {"format": "4",}, "params": {"format": "4"},
}, },
{ {
"url": "https://www.picta.cu/medias/palmiche-galeno-tercer-lugar-torneo-virtual-robotica-2020-05-21-16-15-31-431895", "url": "https://www.picta.cu/medias/palmiche-galeno-tercer-lugar-torneo-virtual-robotica-2020-05-21-16-15-31-431895",
@ -92,7 +92,7 @@ class PictaIE(PictaBaseIE):
"timestamp": 1590077731, "timestamp": 1590077731,
}, },
}, },
{"url": "https://www.picta.cu/embed/?v=818", "only_matching": True,}, {"url": "https://www.picta.cu/embed/?v=818", "only_matching": True},
] ]
def _real_extract(self, url): def _real_extract(self, url):
@ -138,7 +138,7 @@ class PictaEmbedIE(InfoExtractor):
"uploader": "admin", "uploader": "admin",
"timestamp": 1547656602, "timestamp": 1547656602,
}, },
"params": {"format": "4",}, "params": {"format": "4"},
} }
def _real_extract(self, url): def _real_extract(self, url):