RahulShaw / ITPROTV-DL

Python script to download videos from your ITPROTV account for offline viewing
MIT License
18 stars 11 forks source link

Access to XMLHttpRequest at 'https://web.chtbl.com/track' from origin 'https://app.acilearning.com' has been blocked by CORS policy #22

Open thisismyrepo opened 11 months ago

thisismyrepo commented 11 months ago

DeprecationWarning: executable_path has been deprecated, please pass in a Service object browser = webdriver.Chrome(executable_path="C:/ChromeDriver/chromedriver.exe",

DevTools listening on ws://127.0.0.1:56179/devtools/browser/48a5a533-36a4-41d8-a4b6-cf1701f03bf8 [1210/131942.465:INFO:CONSOLE(0)] "Access to XMLHttpRequest at 'https://web.chtbl.com/track' from origin 'https://app.acilearning.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.", source: https://app.acilearning.com/login/ (0) [1210/131943.196:INFO:CONSOLE(2)] "ZI error TypeError: Failed to fetch", source: https://app.acilearning.com/assets/elm-app.js?46d62f906f6574b15c30b1b812f8d38e1a75a59d (2) [1210/131943.638:INFO:CONSOLE(2)] "🐛 [safeNative] Unable to access an IFrame context, using default property.", source: https://script.hotjar.com/modules.0ef46a83101151841364.js (2) [1210/131943.646:INFO:CONSOLE(2)] "🐛 [safeNative] Unable to access an IFrame context, using default property.", source: https://script.hotjar.com/modules.0ef46a83101151841364.js (2) [1210/131943.679:INFO:CONSOLE(2)] "🐛 [safeNative] Unable to access an IFrame context, using default property.", source: https://script.hotjar.com/modules.0ef46a83101151841364.js (2) [1210/131943.680:INFO:CONSOLE(2)] "🐛 [safeNative] Unable to access an IFrame context, using default property.", source: https://script.hotjar.com/modules.0ef46a83101151841364.js (2) [1210/131943.681:INFO:CONSOLE(2)] "🐛 [safeNative] Unable to access an IFrame context, using default property.", source: https://script.hotjar.com/modules.0ef46a83101151841364.js (2) [1210/131943.683:INFO:CONSOLE(2)] "🐛 [safeNative] Unable to access an IFrame context, using default property.", source: https://script.hotjar.com/modules.0ef46a83101151841364.js (2) [1210/131943.684:INFO:CONSOLE(2)] "🐛 [safeNative] Unable to access an IFrame context, using default property.", source: https://script.hotjar.com/modules.0ef46a83101151841364.js (2) [1210/131944.383:INFO:CONSOLE(0)] "Access to XMLHttpRequest at 'https://web.chtbl.com/track' from origin 'https://app.acilearning.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.", source: https://app.acilearning.com/login?redirect_to=%2Fcourse%2Fcertified-ethical-hacker-v12%2Fcourse-overview-9050 (0) Executing for https://app.acilearning.com/course/certified-ethical-hacker-v12/course-overview-9050 [1210/131945.191:INFO:CONSOLE(2)] "FormComplete Script Loaded!", source: https://app.acilearning.com/assets/elm-app.js?46d62f906f6574b15c30b1b812f8d38e1a75a59d (2) [1210/131945.564:INFO:CONSOLE(2)] "WebSights Script Loaded!", source: https://app.acilearning.com/assets/elm-app.js?46d62f906f6574b15c30b1b812f8d38e1a75a59d (2)

thisismyrepo commented 11 months ago

It gives the above message for every episode enumerated, then it gives this: 2f906f6574b15c30b1b812f8d38e1a75a59d (2) Commencing download ... Downloading: Course Overview ... [Errno 2] No such file or directory: 'C:\Users\xxxx\Documents\ITPROTV-DL-master\Certified Ethical Hacker (CEH) v.12 \1. Course Overview.mp4' Downloading: Basic Cybersecurity Concepts ... [Errno 2] No such file or directory: 'C:\Users\xxxx\Documents\ITPROTV-DL-master\Certified Ethical Hacker (CEH) v.12 \2. Basic Cybersecurity Concepts.mp4'