1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 12:42:29 +01:00

[slideshare] fix extraction

This commit is contained in:
Mike Fährmann 2021-02-08 22:29:30 +01:00
parent ae530f6365
commit 280b1ac16d
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2016-2019 Mike Fährmann, Leonardo Taccari
# Copyright 2016-2021 Mike Fährmann, Leonardo Taccari
#
# 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
@ -61,7 +61,7 @@ class SlidesharePresentationExtractor(Extractor):
title, pos = text.extract(
page, '<span class="j-title-breadcrumb">', '</span>', pos)
views, pos = text.extract(
page, '<span class="notranslate pippin-data">', 'views<', pos)
page, '<span class="notranslate">', 'views<', pos)
published, pos = text.extract(
page, '<time datetime="', '"', pos)
alt_descr, pos = text.extract(