fix broken cli

This commit is contained in:
sigvartmh
2017-05-20 12:15:06 +02:00
parent 0b54e6887b
commit c4843b989b

View File

@@ -343,4 +343,11 @@ if __name__ == '__main__':
if url:
scraper.download_one(url)
else:
scraper.download_all()
courses = scraper.find_all_courses()
for key in courses:
print(courses[key])
ans = input("Continue? Y/N ")
if "y" in ans.lower():
scraper.download_all()
else:
exit()