you can use the binary ps-scraper.exe
if you don't want to build from scratch.
To build
-
Install latest chrome
-
Install go/golang and godep
-
godep go install
-
go build
-
generates distributable binary (ps-scraper.exe or main.exe).
ps-scraper.exe -u user@email.com -p password -c course-1-name -c course-2-name
OR
ps-scraper.exe --username user@email.com --password password --course course-1-name --course course-2-name
You can have one or more courses. just repeat the --course/-c argument. chrome browser will be automatically opened/closed while scraping.
visit the page of the course and extract the course attribute. play the video.
course=course-1-name