jayapraveen / itpro.tv-courses-downloader Goto Github PK
View Code? Open in Web Editor NEWPython Script to generate downloadable links for courses from ITPro.tv site
License: GNU General Public License v3.0
Python Script to generate downloadable links for courses from ITPro.tv site
License: GNU General Public License v3.0
Hello,
is there any chance to add option to download closed caption subtitles with every videos?
Either way thank you for great app.
ITPro.Tv-Courses-downloader-master>python itprotv.py
Token is Valid!
0 Get Started
1 Most Popular
2 CompTIA
3 Microsoft
4 Cisco
5 Security Skills
6 Linux
7 (ISC)²
8 EC-Council
9 Python
10 Apple
11 AWS
12 VMware
13 ITIL®
14 Google
15 Agile
16 CertNexus
17 Service Management
18 Project Management
19 PMI®
20 PRINCE2®
21 Big Data
22 GIAC
23 ISACA
24 Governance
25 Six Sigma
26 Automation
27 Networking Skills
28 Foundation Skills
29 Cloud Technology Skills
30 Virtualization Skills
31 OfficeProTV
32 DevProTV
33 Podcasts
34 Webinars
35 Business Skills
36 Legacy
Enter your choice: 4
0 Cisco CCT Routing and Switching (100-490)
1 Cisco CCNA (200-301)
2 Cisco CyberOps Associate (200-201)
3 Cisco Certified DevNet Associate (200-901)
4 Cisco CCNP Enterprise ENCOR (350-401)
5 Cisco CCNP Enterprise ENSLD (300-420)
6 Cisco CCNP Enterprise ENARSI (Exam 300-410)
7 Cisco CCNP Security SCOR (Exam 350-701)
8 Cisco CCNP Security SNCF (Exam 300-710)
9 Cisco CCNP Data Center DCCOR (350-601)
10 Hands-on with Cisco Meraki Wireless Access Points
11 Hands-on with Cisco Modeling Labs 2 (CML2)
Enter your choice: 9
0 Overview
1 An NX-OS Primer
2 OSPFv2 dccor
3 OSPFv3
4 MP-BGP
5 PIM
6 FHRPs
7 RSTP+
8 LACP dccor
9 vPC dccor
10 VXLAN
11 EVPN
12 OTV
13 What is Cisco ACI
14 The Cisco APIC
15 ACI Access Policies
16 ACI VMM
17 ACI Tenant Policies
18 ACI Contracts and Microsegmentation
19 Packet Flow Analysis
20 NIST 800-145 Cloud Defined
21 Nexus Software Updates
22 Nexus Configuration Management
23 NetFlow
24 SPAN
25 Streaming Telemetry
26 UCS Rack Servers
27 UCS Blade Chassis
28 UCS Initial Setup
29 UCS Infrastructure Management
30 UCS Network Management
31 UCS Storage Management
32 UCS Monitoring
33 HyperFlex Infrastructure
34 UCS Software Updates
35 UCS Backup and Restore
36 SPAN in the UCS
37 Intersight
38 Fibre Channel
39 Port Channels
40 Switched Fabric Initialization
41 VSANs
42 FCoE Unified Fabric
43 NFS and NAS
44 Monitoring and Software Updates
45 EEM
46 Scheduler
47 User Interface Options
48 JSON and XML
49 Ansible
50 Puppet
51 Python
52 POAP
53 DCNM and UCSD
54 AAA and RBAC
55 First Hop Security
56 CoPP
Total= 57
Traceback (most recent call last):
File "itprotv.py", line 148, in
episodes_download_links = get_download_links(episode_links,data_auth,resolution)
File "itprotv.py", line 109, in get_download_links
if (req_data["episode"][resolution] == None):
KeyError: 'episode'
I am getting Token error when I run py file with my browser passedtoken
hi
thanks for this code but the pic you have uploaded about what to do on the website is not the same as the website
could you check and let me know how to fix this please?
i need this so much
thanks
Hi,
I have found that if i am trying to open a link from the extracted list, i receive this error :
Access to this video has been denied
And when i am importing the list to IDM, i receive an error message from IDM.
So can't download extracted videos from the extracted links
Saving Download Links Into separate .txt file is not working, please help me!
Token Error! Recheck and fix token in the configuration
My error is this bro.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2MGNjNTIwODExNzI2MjAwMDEwMWUxMjAiLCJhZG1pbiI6ZmFsc2UsImNvbnRlbnRzIjp7ImZyZWUiOnRydWUsImxpbWl0Q2F0ZWdvcmllcyI6ZmFsc2UsImxpbWl0Q291cnNlcyI6ZmFsc2UsImNhdGVnb3J5TGFiZWwiOiJGcmVlIENvdXJzZXMiLCJzZXJ2aWNlcyI6WyJsaXZlVmlldyIsImNoYXRWaWV3Il19LCJsYXN0bmFtZSI6Ik5pdGhpbiBZYWRhdiIsImV4cCI6MTYyNDA4OTQ4MSwidXNlcmdyb3VwcyI6WyJJVFByb1RWIiwiVHJpYWwiXSwidXNlcm5hbWUiOiJuaXRoaW4ueWFkYXYwMDEwQGdtYWlsLmNvbSIsImhpZGRlbkFjY2VzcyI6W10sInVzZXJJZCI6ImVkY2RhODA1LWFhOTQtNDIzYS05Mzk1LTQ4MGY0ZDQzYjExYSIsImlhdCI6MTYyNDAwMzA4MSwiZ2VuZGVyIjpudWxsLCJpbnRlcmNvbUhhc2giOiJhNzM4YjQ3OWIwODgyYTJlNDdlMWIxZmZiOTQ1MTI1MGUyZDkyNWMzN2ZlMmJiN2FkN2ZiMzFmOWRjNjIwZTgwIiwiY29tcGFueSI6bnVsbCwicGhvbmVudW1iZXIiOm51bGwsImZpcnN0bmFtZSI6IlBhbmR1Z2F5YWxhIiwiaWQiOiI2MGNjNTIwODExNzI2MjAwMDEwMWUxMjAiLCJzaGlydFNpemUiOm51bGx9.MCyvkUDaQOgAZrv_BuK7GiC7-VhokHHiyo3Ya5E3Cj8.
This is my token .
Please help me.
Hi
thanks a lot for this script
for me, the token key was in the view page sources
can the script be modified, so it could download from other sites as well, please?
Thanks again
Resolution:
either rename the .json file to itprodownloader
or
edit code to change itprodownloader to the correct json name
also, you will need run the script from within the directory you have both files in. So that your command with be "python3 ./itprotv.py"
Not sure if this is addressable, but the downloader seems to no longer work. Launching the script just hangs until a signal interrupt is sent. It would help tremendously if you could look into it and determine if it was an easy fix. Thanks.
tried to login with github credentials etc but nothing worked kindly help me out at the earliest
I don't know if they changed something since this was last updated, but I cannot find a passedToken value or anything starting with "eyJ" anywhere in the code now.
I've never used this tool before, so maybe I'm doing it wrong, but I open up the network tab, log into the site, and go to the dashboard - no luck. I've tried Chrome and Edge both with the same result.
Could it be because I don't have a paid account, but just a free one? I can watch any free videos they have, but that's it.
Traceback (most recent call last):
File "/ITPro.Tv-Courses-downloader-master/itprotv.py", line 142, in
download_video(url,filename)
File "/ITPro.Tv-Courses-downloader-master/itprotv.py", line 67, in download_video
download_video(url,filename, epoch + 1)
File "****/ITPro.Tv-Courses-downloader-master/itprotv.py", line 52, in download_video
if (epoch > retry):
NameError: name 'retry' is not defined
After the first file, it kicks out this error:
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?
Only video #1 gets downloaded. There's nothing wrong with my internet connection. The token seems to be the same for every video, is it supposed to be different?
Total= 19 Video already downloaded.. skipping Downloading.. Connection error: Reattempting download of video.. Redownloading faulty download.. Connection error: Reattempting download of video.. Redownloading faulty download.. Connection error: Reattempting download of video.. Redownloading faulty download..
I copied the whole line below and pasted into the token line on config file.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2MGMxNzg4MDkzZDY5MzAwMDEwMTI5YjIiLCJhZG1pbiI6ZmFsc2UsImNvbnRlbnRzIjp7ImZyZWUiOnRydWUsImxpbWl0Q2F0ZWdvcmllcyI6ZmFsc2UsImxpbWl0Q291cnNlcyI6ZmFsc2UsImNhdGVnb3J5TGFiZWwiOiJGcmVlIENvdXJzZXMiLCJzZXJ2aWNlcyI6WyJsaXZlVmlldyIsImNoYXRWaWV3Il19LCJsYXN0bmFtZSI6Ik1hbmRlZ2FyIiwiZXhwIjoxNjIzNTM2NzYwLCJ1c2VyZ3JvdXBzIjpbIklUUHJvVFYiLCJUcmlhbCJdLCJ1c2VybmFtZSI6Im1hdHRoZXdtYW5kZWdhckBnbXguY29tIiwiaGlkZGVuQWNjZXNzIjpbXSwidXNlcklkIjoiMDUwMzk2NjItMjI3ZS00Zjk1LTgwZDktZTE0ZDUwMWEyYTY3IiwiaWF0IjoxNjIzNDUwMzYwLCJnZW5kZXIiOm51bGwsImludGVyY29tSGFzaCI6ImJkMzZlNGVmNzBhZTAzNjJmNTRkYzUxYTFiOGQyY2RlOTVkMzg5OGRjMDQ5ZTc5NzlmYWY5ZmIwODRiMGQ5NjMiLCJjb21wYW55IjpudWxsLCJwaG9uZW51bWJlciI6bnVsbCwiZmlyc3RuYW1lIjoiTWF0dGhldyIsImlkIjoiNjBjMTc4ODA5M2Q2OTMwMDAxMDEyOWIyIiwic2hpcnRTaXplIjpudWxsfQ.vgiBelloOjubPMbYWgu5An0EBCWzZ_Sv-qGWwX_xLbc","userId":"05039662-227e-4f95-80d9-e14d501a2a67","firstName":"Matthew","lastName":"Mandegar","services":["liveView","chatView"],"contents":{"free":true,"limitCategories":false,"limitCourses":false,"categoryLabel":"Free Courses"},"userGroups":["Free","ITProTV","Trial"],"hiddenAccess":[],"brand":{"externalId":"00002560-0000-3fa9-0000-1d61000035f3","name":"ITProTV"
{
"downloadQuality" : "1080p",
"method" : "download",
"downloadLocation": "./",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2MGMxNzg4MDkzZDY5MzAwMDEwMTI5YjIiLCJhZG1pbiI6ZmFsc2UsImNvbnRlbnRzIjp7ImZyZWUiOnRydWUsImxpbWl0Q2F0ZWdvcmllcyI6ZmFsc2UsImxpbWl0Q291cnNlcyI6ZmFsc2UsImNhdGVnb3J5TGFiZWwiOiJGcmVlIENvdXJzZXMiLCJzZXJ2aWNlcyI6WyJsaXZlVmlldyIsImNoYXRWaWV3Il19LCJsYXN0bmFtZSI6Ik1hbmRlZ2FyIiwiZXhwIjoxNjIzNTM2NzYwLCJ1c2VyZ3JvdXBzIjpbIklUUHJvVFYiLCJUcmlhbCJdLCJ1c2VybmFtZSI6Im1hdHRoZXdtYW5kZWdhckBnbXguY29tIiwiaGlkZGVuQWNjZXNzIjpbXSwidXNlcklkIjoiMDUwMzk2NjItMjI3ZS00Zjk1LTgwZDktZTE0ZDUwMWEyYTY3IiwiaWF0IjoxNjIzNDUwMzYwLCJnZW5kZXIiOm51bGwsImludGVyY29tSGFzaCI6ImJkMzZlNGVmNzBhZTAzNjJmNTRkYzUxYTFiOGQyY2RlOTVkMzg5OGRjMDQ5ZTc5NzlmYWY5ZmIwODRiMGQ5NjMiLCJjb21wYW55IjpudWxsLCJwaG9uZW51bWJlciI6bnVsbCwiZmlyc3RuYW1lIjoiTWF0dGhldyIsImlkIjoiNjBjMTc4ODA5M2Q2OTMwMDAxMDEyOWIyIiwic2hpcnRTaXplIjpudWxsfQ.vgiBelloOjubPMbYWgu5An0EBCWzZ_Sv-qGWwX_xLbc","userId":"05039662-227e-4f95-80d9-e14d501a2a67","firstName":"Matthew","lastName":"Mandegar","services":["liveView","chatView"],"contents":{"free":true,"limitCategories":false,"limitCourses":false,"categoryLabel":"Free Courses"},"userGroups":["Free","ITProTV","Trial"],"hiddenAccess":[],"brand":{"externalId":"00002560-0000-3fa9-0000-1d61000035f3","name":"ITProTV"}
}
= RESTART: C:\Users\Hanafi\Downloads\ITPro.Tv-Courses-downloader-master\itprotv.py
Traceback (most recent call last):
File "C:\Users\Hanafi\Downloads\ITPro.Tv-Courses-downloader-master\itprotv.py", line 80, in
data_auth = ast.literal_eval(json.dumps({"Authorization":"Bearer "+login_data['token'],"user-agent":ua}))
KeyError: 'token'
Been getting this Error after selecting Sub-category for Microsoft.
Traceback (most recent call last):
File "C:\Users\Username\Desktop\ITPro.Tv-Courses-downloader-master\itprotv.py", line 148, in
episodes_download_links = get_download_links(episode_links,data_auth,resolution)
File "C:\Users\Username\Desktop\ITPro.Tv-Courses-downloader-master\itprotv.py", line 109, in get_download_links
if (req_data["episode"][resolution] == None):
KeyError: 'episode'
Need assistance
Hi buddy,
Can you do another one for ine.com ? linuxacademy ?cloudacademy ?cbt-nuggets?
Kind regards!
(VirtualEnv) D:\Documents\Others\Tools and Resources\ITPro.Tv-Courses-downloader-master\ITPro.Tv-Courses-downloader-master>python itprotv.py
Token is Valid!
0 Get Started
1 Most Popular
2 CompTIA
3 Microsoft
4 Cisco
5 Security Skills
6 Linux
7 (ISC)²
8 EC-Council
9 Python
10 Apple
11 AWS
12 VMware
13 ITIL®
14 Google
15 Agile
16 CertNexus
17 Service Management
18 Project Management
19 PMI®
20 PRINCE2®
21 Big Data
22 GIAC
23 ISACA
24 Governance
25 Six Sigma
26 Automation
27 Networking Skills
28 Foundation Skills
29 Cloud Technology Skills
30 Virtualization Skills
31 OfficeProTV
32 DevProTV
33 Podcasts
34 Webinars
35 Business Skills
36 Legacy
Enter your choice: 8
0 CEH v10
1 CHFI v9
2 ECES
3 EC-Council Certified Incident Handler v2
4 Certified Ethical Hacker v11 (In Production)
Enter your choice: 0
0 Overview
1 Intro to Ethical Hacking: Threats
2 Intro to Ethical Hacking: Threats Part 2
3 Intro to Ethical Hacking: Hacking Concepts
4 Intro to Ethical Hacking: Hacking Concepts Part 2
5 Intro to Ethical Hacking: Security Controls
6 Intro to Ethical Hacking: Security Controls Part 2
7 Intro to Ethical Hacking: Security Controls Part 3
8 Intro to Ethical Hacking: Security Controls Part 4
9 Intro to Ethical Hacking: Security Controls Part 5
10 Intro to Ethical Hacking: Pentesting
11 Intro to Ethical Hacking: Laws and Standards
12 Footprinting
13 Footprinting Part 2
14 Footprinting Part 3
15 Host Discovery
16 Scanning with Nmap
17 Scanning with Nmap Part 2
18 ProxyChains
19 Enumeration
20 Vulnerability Analysis Concepts
21 Vulnerability Analysis Tools
22 Password Attacks
23 Password Attacks Part 2
24 Password Attacks Part 3
25 Password Attacks Part 4
26 Password Attacks Part 5
27 Privilege Escalation
28 Privilege Escalation Part 2
29 Privilege Escalation Part 3
30 Covert Data Gathering
31 Hidden Files
32 Covering Tracks
33 Malware Threats cehv10
34 Malware Threats Part 2
35 Malware Threats Part 3
36 Network Sniffing
37 Network Sniffing Part 2
38 Social Engineering
39 Social Engineering Part 2
40 Social Engineering Part 3
41 Denial of Service
42 Denial of Service Part 2
43 Denial of Service Part 3
44 Session Hijacking
45 Session Hijacking Part 2
46 Session Hijacking Part 3
47 Evading IDS, Firewalls and Honeypots
48 Evading IDS, Firewall and Honeypots Part 2
49 Evading IDS, Firewall and Honeypots Part 3
50 Evading IDS, Firewall and Honeypots Part 4
51 Evading IDS, Firewall and Honeypots Part 5
52 Hacking Web Servers
53 Common Web App Threats
54 Common Web App Threats Part 2
55 Common Web Apps Threats Part 3
56 Common Web App Threats Part 4
57 Practical Web App Hacking
58 Practical Web App Hacking Part 2
59 Practical Web App Hacking Part 3
60 SQL Concepts
61 SQL Injection Types
62 Other SQLi and Tools
63 Wireless Hacking Concepts
64 Wireless Hacking: Tools
65 Wireless Hacking: Tools Part 2
66 Wireless Hacking: Common Threats
67 Wireless Hacking: Common Threats Part 2
68 Wireless Hacking: Cracking WEP
69 Wireless Hacking: Cracking WPA/WPA2
70 Mobile Hacking
71 IoT Concepts
72 IoT Concepts Part 2
73 IoT Attacks
74 IoT Attacks Part 2
75 IoT Attacks Part 3
76 Cloud Computing Concepts
77 Cloud Computing Concepts Part 2
78 Cloud Computing Attacks
79 Cloud Computing Attacks Part 2
80 Cryptography Concepts
81 Cryptography Concepts Part 2
82 Cryptography Concepts Part 3
83 Cryptography Concepts Part 4
84 Cryptography Concepts Part 5
85 Cryptography Concepts Part 6
86 Cryptography Attacks
Total= 87
Traceback (most recent call last):
File "D:\Documents\Others\Tools and Resources\ITPro.Tv-Courses-downloader-master\ITPro.Tv-Courses-downloader-master\itprotv.py", line 148, in <module>
episodes_download_links = get_download_links(episode_links,data_auth,resolution)
File "D:\Documents\Others\Tools and Resources\ITPro.Tv-Courses-downloader-master\ITPro.Tv-Courses-downloader-master\itprotv.py", line 109, in get_download_links
if (req_data["episode"][resolution] == None):
KeyError: 'episode'
Hi I got the above error. Would it be possible to give some solutions? Thank you.
When i am trying to run the script, i get the following :
python itprotv.py
Traceback (most recent call last):
File "itprotv.py", line 80, in
data_auth = ast.literal_eval(json.dumps({"Authorization":"Bearer "+login_data['token'],"user-agent":ua}))
KeyError: 'token'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.