Closed kdam closed 7 years ago
I am getting the same error.
Env: Windows, Python 2.7.10
How do I solve this issue?
You can just rewrite the beginning of get_quiz_info function like this:
def get_quiz_info(session, url, category_name):
session.get(url)
wait_for_load(session)
safe_category_name = category_name.replace('/', '_')
render(session, os.getcwd()+'/'+safe_category_name)
This project has been deprecated for a while. Just doing some cleaning.
Env: Ubuntu, Python 2.7.10
venture-001 has sections with forward slashes in their names, such as "Grading / Notation", "Week 1 / Semaine 1", "Final Project / Project final", and so on.
The script seems to work okay for most of the sections, but fails on "Quizzes / Quizz". Here's the trace:
Should be an easy fix to replace the / with a dash or something.