Skip to content

Instantly share code, notes, and snippets.

View dbgrigsby's full-sized avatar

Daniel Grigsby dbgrigsby

View GitHub Profile
@dbgrigsby
dbgrigsby / echo.py
Created May 6, 2017 20:15
Echo 360 Video Download Python
import requests
dataout = ""
lectureNumber = 1
with open ("source.html", 'r') as source: # Right click - View Source on an Echo 360 video page, save as file
dataout="".join(line.rstrip() for line in source)
for num in range(0,4): # There are four video possible, HD doc camera, HD facecam and their SD versions
y = dataout.split(".mp4?response-cache-control")[num]
x = y.split("s3Url",2)[1]
z = x[5:] + ".mp4"
q = z.replace('\/', '/')