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 [email protected] -p password -c course-1-name -c course-2-name
OR
ps-scraper.exe --username [email protected] --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