Skip to content

Instantly share code, notes, and snippets.

@skius
Last active February 6, 2022 01:08
Show Gist options
  • Save skius/2a679d28a064dcd4c33eac060253d33f to your computer and use it in GitHub Desktop.
Save skius/2a679d28a064dcd4c33eac060253d33f to your computer and use it in GitHub Desktop.
Open ETH lecture videos without a password

Note

This bookmarklet is very dependent on the structure of video.ethz.ch's HTML. Slight changes can and will break it.

Installation

Select, then drag & drop the following to your bookmarks (or create a new bookmark with the following URL):

javascript:var%20win%20%3D%20window.open%28document.querySelector%28%27li.video%20a%27%29.href%2C%20%27_blank%27%29%3B

Save it under something you remember (e.g. "Open ETH Video").

Usage

Open a lecture link and click on the bookmark. This should open a new tab with the video file.

(e.g. 1. visit https://video.ethz.ch/lectures/d-infk/2019/autumn/252-0027-00L/1d01fdfc-cb3f-4feb-b5c4-4f6b449d0cc2.html 2. click on the bookmark)

Bookmarklet in action: https://gfycat.com/menacingsouranole

@mtbhin
Copy link

mtbhin commented Feb 6, 2022

Thanks.

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