mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
[slideshare] fix extraction
This commit is contained in:
parent
281ab33f87
commit
00440b8fb1
@ -47,13 +47,13 @@ class SlidesharePresentationExtractor(GalleryExtractor):
|
||||
}
|
||||
|
||||
def images(self, page):
|
||||
parts = self.slideshow["slideImages"][0]["baseUrl"].split("/")
|
||||
|
||||
begin = "{}/95/{}-".format(
|
||||
"/".join(parts[:4]),
|
||||
self.slideshow["strippedTitle"],
|
||||
slides = self.slideshow["slides"]
|
||||
begin = "{}/{}/95/{}-".format(
|
||||
slides["host"],
|
||||
slides["imageLocation"],
|
||||
slides["title"],
|
||||
)
|
||||
end = "-1024.jpg?" + parts[-1].rpartition("?")[2]
|
||||
end = "-1024.jpg"
|
||||
|
||||
return [
|
||||
(begin + str(n) + end, None)
|
||||
|
Loading…
Reference in New Issue
Block a user