Comments (8)
Hi @rafiulnakib the updated script should works now, please delete the entire old folder, redownload it from Github, and try again :) please star this if it helps you too. Cheers
from echo360.
Worked perfectly! Thanks.
from echo360.
Can you post the run with the debug flag and post the log file somewhere? aka. run with
./run.sh URL --debug
Thanks!
from echo360.
from echo360.
Can you post the log file that generates in the same folder for debugging? It was the purpose for my last comment, thanks!
from echo360.
Sorry my bad, I didn't understand what you meant and I still don't know where to look for it. I could find one debug.log for pip, not sure if that's the one. I am not very proficient in these matters so if you could help a bit that would be awesome! Thanks.
from echo360.
No worries!
It should be named as echo360Downloader.log
in the same folder as the run.sh
script.
Like the following:
You can upload to any sort of filehosting website or https://pastebin.com/
from echo360.
[DEBUG: 12-04 19:13] main binary_downloader link: ('https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip', 'phantomjs-2.1.1-macosx.zip'), bin path: /Users/raf/Downloads/echo360-master/bin/phantomjs-2.1.1-macosx/bin/phantomjs
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection POST http://127.0.0.1:54281/wd/hub/session {"capabilities": {"alwaysMatch": {"browserName": "phantomjs", "platformName": "any"}, "firstMatch": [{}]}, "desiredCapabilities": {"platform": "ANY", "browserName": "phantomjs", "version": "", "phantomjs.page.settings.userAgent": "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25", "javascriptEnabled": true}}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "POST /wd/hub/session HTTP/1.1" 200 699
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection POST http://127.0.0.1:54281/wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/url {"url": "https://view.streaming.sydney.edu.au:8443/ess/portal/section/2018_S2C_PHYS3069_ND", "sessionId": "7e93bb90-f79c-11e8-8675-0bc53fde1a25"}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "POST /wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/url HTTP/1.1" 200 74
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection POST http://127.0.0.1:54281/wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/element {"using": "xpath", "sessionId": "7e93bb90-f79c-11e8-8675-0bc53fde1a25", "value": "//*[contains(@id,'username')]"}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "POST /wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/element HTTP/1.1" 500 14615
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection GET http://127.0.0.1:54281/wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/source {"sessionId": "7e93bb90-f79c-11e8-8675-0bc53fde1a25"}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "GET /wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/source HTTP/1.1" 200 4918
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection GET http://127.0.0.1:54281/wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/source {"sessionId": "7e93bb90-f79c-11e8-8675-0bc53fde1a25"}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "GET /wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/source HTTP/1.1" 200 4918
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
[DEBUG: 12-04 19:13] echo360.downloader No username found (no need to login?)
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection GET http://127.0.0.1:54281/wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/source {"sessionId": "7e93bb90-f79c-11e8-8675-0bc53fde1a25"}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "GET /wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/source HTTP/1.1" 200 4918
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
[DEBUG: 12-04 19:13] echo360.downloader Dumping login page at https://view.streaming.sydney.edu.au:8443/ess/portal/section/2018_S2C_PHYS3069_ND:
<title>Echo360</title>
<style type="text/css">
#verticallyCentered {
color: black;
background-color: transparent;
text-align: center;
position: absolute;
top: 50%;
left: 0px;
width: 100%;
height: 1px;
overflow: visible;
visibility: visible;
display: block;
}
#horizontallyCentered {
font-family: Verdana, Geneva, Arial, sans-serif;
background-color: transparent;
margin-left: -125px;
position: absolute;
top: -35px;
left: 50%;
width: 250px;
height: 70px;
visibility: visible
}
html, body, div, iframe { margin:0; padding:0; height:100%; }
iframe { display:block; width:100%; border:none; }
</style>
<link rel="shortcut icon" href="/ess/image/favicon.ico">
var _gaq = _gaq || [];
_gaq.push(
['_setAccount','UA-32737747-2'],
['_setDomainName','none'],
['_setAllowLinker',true],
['_setCustomVar',1,'ESSVer','5.5.71.10.618800291'],
['_setCustomVar',2,'AH','e51e6fbe0cf29713fb4e37c5d10b46dacd90e23a24bf8fb11a5f34b2108ba74a'],
['_setCustomVar',3,'BH','634e213c0af162f0c1f067c48a1297960178627d5cde03a87ca18323daee144c'],
['_setCustomVar',4,'CH','6ffaea0b-acef-4589-9cbd-05e5fad51e13'],
['_setCustomVar',5,'DH','NULL'],
['_trackPageview']
);
_gaq.push(
['b._setAccount', 'UA-42150671-1'],
['b._setDomainName', 'none'],
['b._setAllowLinker', true],
['b._trackPageview']
);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection POST http://127.0.0.1:54281/wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/url {"url": "https://view.streaming.sydney.edu.au:8443/ess/client/api/sections/2018_S2C_PHYS3069_ND/section-data.json?pageSize=100", "sessionId": "7e93bb90-f79c-11e8-8675-0bc53fde1a25"}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "POST /wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/url HTTP/1.1" 200 74
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection GET http://127.0.0.1:54281/wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/source {"sessionId": "7e93bb90-f79c-11e8-8675-0bc53fde1a25"}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "GET /wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/source HTTP/1.1" 200 238
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
[DEBUG: 12-04 19:13] echo360.course Dumping course page at https://view.streaming.sydney.edu.au:8443/ess/client/api/sections/2018_S2C_PHYS3069_ND/section-data.json?pageSize=100:
{"errorMessage":"Invalid user session.","error":401}
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection POST http://127.0.0.1:54281/wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/element {"using": "tag name", "sessionId": "7e93bb90-f79c-11e8-8675-0bc53fde1a25", "value": "pre"}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "POST /wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/element HTTP/1.1" 200 104
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection GET http://127.0.0.1:54281/wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/element/:wdc:1543911215300/text {"sessionId": "7e93bb90-f79c-11e8-8675-0bc53fde1a25", "id": ":wdc:1543911215300"}
[DEBUG: 12-04 19:13] urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1:54281
[DEBUG: 12-04 19:13] urllib3.connectionpool http://127.0.0.1:54281 "GET /wd/hub/session/7e93bb90-f79c-11e8-8675-0bc53fde1a25/element/:wdc:1543911215300/text HTTP/1.1" 200 132
[DEBUG: 12-04 19:13] selenium.webdriver.remote.remote_connection Finished Request
from echo360.
Related Issues (20)
- Option to download without logging in to echo360.org HOT 10
- Downloading all lectures in Windows HOT 4
- Automated Windows downloading fails HOT 3
- Work around for authentication issue HOT 1
- ffmpeg not found error HOT 3
- lecture name [[UNTITLED]], content with in its folder keeps cleaned and overrided by newer downloaded video HOT 7
- Unable to download for Canadian Echo360 HOT 2
- --after-date and --before-date don't work HOT 4
- Chrome driver fails to launch Chrome HOT 1
- After downloading the files, they get deleted. Result is empty download folder. HOT 3
- echo360.py cant find the video as there is no home page for it HOT 6
- Failed to get m3u8 info for EchoCourse! HOT 2
- PHANTOMJS removed in selenium v4 HOT 3
- Doesn't work for UNSW HOT 2
- Ways to download single media file HOT 1
- Missing or invalid capabilities in selenium HOT 6
- Outdated chromedriver HOT 4
- how to download public video HOT 1
- SSL Error HOT 2
- chromedriver for M1 mac? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from echo360.