aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/slideshare.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/slideshare.py')
-rw-r--r--gallery_dl/extractor/slideshare.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gallery_dl/extractor/slideshare.py b/gallery_dl/extractor/slideshare.py
index 557c9fb..b0b8f3b 100644
--- a/gallery_dl/extractor/slideshare.py
+++ b/gallery_dl/extractor/slideshare.py
@@ -79,10 +79,9 @@ class SlidesharePresentationExtractor(GalleryExtractor):
views = extr('content="UserPageVisits:', '"')
if descr.endswith("…"):
- alt_descr = extr(
- 'id="slideshow-description-text" class="notranslate">', '</p>')
+ alt_descr = extr('id="slideshow-description-text"', '</p>')
if alt_descr:
- descr = text.remove_html(alt_descr).strip()
+ descr = text.remove_html(alt_descr.partition(">")[2]).strip()
return {
"user": self.user,