Skip to content

Instantly share code, notes, and snippets.

@AkshaySapra
Created January 20, 2024 04:06
Show Gist options
  • Save AkshaySapra/daa886de34b604e3ef5ce16315a16e27 to your computer and use it in GitHub Desktop.
Save AkshaySapra/daa886de34b604e3ef5ce16315a16e27 to your computer and use it in GitHub Desktop.
How to download videos from UofT quercus
The command I used looks like this:
youtube-dl --cookies library.utoronto.ca_cookies.txt https://stream.library.utoronto.ca:1935/MyMedia/play/mp4:1/f1d06b55a1909ed73463eddbecfa8095.mp4/chunklist_w159688705.m3u8
1. You need to pip install youtube-dl im pretty sure
2. the last url is the .m3 file in network console (go to google chrome inspect element and then network tab to find the video url after you've clicked on the relevant video)
3. cookies can be downloaded from a chrome extension like this one:
https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc
You need to sign into quercus and then click on the extension to download them. In my case I have them as "library.utoronto.ca_cookies.txt"
DO NOT RUN IN PYTHON - RUN IN NORMAL TERMINAL LOL!
@LAMIDISCOVER
Copy link

thank you so much Shayy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment