diff --git a/setup.py b/setup.py index 3fa0075..b33b117 100644 --- a/setup.py +++ b/setup.py @@ -6,13 +6,13 @@ from setuptools import setup setup( name = 'slideslurp', - version = '0.0.4', + version = '0.0.5', description = 'SlideShare to PDF', author = 'Veit Heller', author_email = 'veit@veitheller.de', license = 'MIT License', url = 'https://github.com/hellerve/slideslurp', - download_url = 'https://github.com/hellerve/slideslurp/tarball/0.0.4', + download_url = 'https://github.com/hellerve/slideslurp/tarball/0.0.5', packages = find_packages('.'), install_requires=[ "bs4", diff --git a/slideslurp/__init__.py b/slideslurp/__init__.py index 04638c9..a0aad4b 100644 --- a/slideslurp/__init__.py +++ b/slideslurp/__init__.py @@ -22,7 +22,7 @@ def parse_args(): def main(): args = parse_args() - res = requests.get(args.url) + res = requests.get(args.url[0]) tree = bs4.BeautifulSoup(res.text, "html.parser") c = canvas.Canvas(args.file)