squashed all commits

added parsing for mathematical foundations recordings

added filepath sanitization

worked around the changing login URL

added streaming of requests for large downloads

added gitignore

added example
This commit is contained in:
Johannes Erwerle 2022-04-13 13:56:23 +02:00
parent 544e609d44
commit 0849c0363a
5 changed files with 300 additions and 14 deletions

View file

@ -2,6 +2,8 @@ import re
from typing import Optional
from dataclasses import dataclass
from pathvalidate import sanitize_filepath
@dataclass
class ContentDisposition:
@ -33,5 +35,6 @@ def heading_sanitization(heading: str) -> str:
if heading == "Inhalt":
return ""
return heading
return sanitize_filepath(heading)