1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-24 11:42:33 +01:00
gallery-dl/test/results/slideshare.py
Mike Fährmann 009aa90c3f
[tests] update extractor results
at least some of them
2024-06-01 20:28:04 +02:00

49 lines
2.2 KiB
Python

# -*- coding: utf-8 -*-
# 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
# published by the Free Software Foundation.
from gallery_dl.extractor import slideshare
__tests__ = (
{
"#url" : "https://www.slideshare.net/Slideshare/get-started-with-slide-share",
"#category": ("", "slideshare", "presentation"),
"#class" : slideshare.SlidesharePresentationExtractor,
"#pattern" : r"https://image\.slidesharecdn\.com/getstartedwithslideshare-150520173821-lva1-app6892/95/Getting-Started-With-SlideShare-\d+-1024\.jpg",
"#count" : 19,
"#sha1_content": "2b6a191eab60b3978fdacfecf2da302dd45bc108",
"description" : "Get Started with SlideShare - A Beginngers Guide for Creators",
"likes" : int,
"presentation": "get-started-with-slide-share",
"date" : "dt:2015-05-20 17:38:21",
"title" : "Getting Started With SlideShare",
"user" : "Slideshare",
"views" : int,
},
{
"#url" : "https://www.slideshare.net/pragmaticsolutions/warum-sie-nicht-ihren-mitarbeitenden-ndern-sollten-sondern-ihr-managementsystem",
"#comment" : "long title and description",
"#category": ("", "slideshare", "presentation"),
"#class" : slideshare.SlidesharePresentationExtractor,
"#sha1_url": "c2d0079cc3b05de0fd93b0d0b1f47ff2a32119b7",
"title" : "Warum Sie nicht Ihren Mitarbeitenden ändern sollten, sondern Ihr Managementsystem",
"description": "Mitarbeitende verhalten sich mehrheitlich so, wie das System es ihnen vorgibt. Welche Voraussetzungen es braucht, damit Ihre Mitarbeitenden ihr ganzes Herzblut einsetzen, bespricht Fredi Schmidli in diesem Referat.",
},
{
"#url" : "https://www.slideshare.net/mobile/uqudent/introduction-to-fixed-prosthodontics",
"#comment" : "mobile URL",
"#category": ("", "slideshare", "presentation"),
"#class" : slideshare.SlidesharePresentationExtractor,
"#pattern" : r"https://image\.slidesharecdn\.com/introductiontofixedprosthodonticsfinal-110427200948-phpapp02/95/Introduction-to-fixed-prosthodontics-\d+-1024\.jpg",
"#count" : 27,
},
)