plugorgau / bbb-render

Scripts to convert a BigBlueButton recording into a single video file
MIT License
64 stars 26 forks source link

Make the download URL regexp more specific #11

Closed aaaaalbert closed 3 years ago

aaaaalbert commented 3 years ago

Backslash-escape additional dots for v2.0 and v2.3 URLs, and add a caret for v2.3 URLs.

Note that the regexps before this commit will work just fine. They just match slightly too loosely, e.g. on the string "2a3" instead of "2.3".


Random side note for v2.0 download URLs: download.py imports urllib.parse anyway, so it could use .urlparse or .urlsplit to parse the query part of the URL. This is the string "meetingId=", followed by the desired id. This doesn't help with v2.3 download URLs though.