If you download a part of the course material, and then attempt an embedded quiz on the lecture, the script would not recognize that you already downloaded the material previously, so if you run it again, it will create another directory with the "Quiz Attempted" text appended, and downloading all materials for that lecture again.
I have a simple fix for this, in order to pick up just the first part of the <a> inner text node, before the appended <span>✐ Quiz Attempted</span> markup.
If you download a part of the course material, and then attempt an embedded quiz on the lecture, the script would not recognize that you already downloaded the material previously, so if you run it again, it will create another directory with the "Quiz Attempted" text appended, and downloading all materials for that lecture again.
I have a simple fix for this, in order to pick up just the first part of the
<a>
inner text node, before the appended<span>✐ Quiz Attempted</span>
markup.