This commit is contained in:
2017-04-09 17:44:39 +02:00
parent 5689088e4f
commit f38a6fb596
2 changed files with 3 additions and 3 deletions

View File

@@ -6,13 +6,13 @@ from setuptools import setup
setup( setup(
name = 'slideslurp', name = 'slideslurp',
version = '0.0.5', version = '0.0.6',
description = 'SlideShare to PDF', description = 'SlideShare to PDF',
author = 'Veit Heller', author = 'Veit Heller',
author_email = 'veit@veitheller.de', author_email = 'veit@veitheller.de',
license = 'MIT License', license = 'MIT License',
url = 'https://github.com/hellerve/slideslurp', url = 'https://github.com/hellerve/slideslurp',
download_url = 'https://github.com/hellerve/slideslurp/tarball/0.0.5', download_url = 'https://github.com/hellerve/slideslurp/tarball/0.0.6',
packages = find_packages('.'), packages = find_packages('.'),
install_requires=[ install_requires=[
"bs4", "bs4",

View File

@@ -25,7 +25,7 @@ def main():
res = requests.get(args.url[0]) res = requests.get(args.url[0])
tree = bs4.BeautifulSoup(res.text, "html.parser") tree = bs4.BeautifulSoup(res.text, "html.parser")
c = canvas.Canvas(args.file) c = canvas.Canvas(args.output)
for img in tree.findAll("img", class_="slide_image"): for img in tree.findAll("img", class_="slide_image"):
img_url = img.attrs["data-full"] img_url = img.attrs["data-full"]