agora-inc / platform

Full code for mora.stream, the "Twitch.tv for academic researchers". The streaming platform served several thousands of concurrent viewers. This has now been acquired and absorbed by Cassyni.
https://cassyni.com/mora
4 stars 0 forks source link

researchseminar scraper #440

Closed AlainRossier closed 2 years ago

AlainRossier commented 2 years ago

Scraping

Parsing

Frontend

Test

AlainRossier commented 2 years ago

There were two problems with the previous version 1) Flask stalling after 30s: solved it using async/await in the frontend 2) Login requires to restart gunicorn (idk why for now): As the login is there to parse the link, it is important but not essential for now. Our goal is to have a way to migrate all the seminars first.

AlainRossier commented 2 years ago

Did a neat trick to get the event links: I made the assumption that it was the same for every talk, so I parse it once at the agora creation (where the login is still active and possible) and copy it for each talk. I also added a logout.