This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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('\/', '/') |