Closed hughware closed 8 months ago
After I ran it repeatedly for a night, it seemed to have good results. But there are still some courses that have not been downloaded. Here is my detection code
import os
directory = r"E:\out_dir\the-python-mega-course"
for root, dirs, files in os.walk(directory):
for file in files:
ext = os.path.splitext(file)[1]
if ext == ".urls":
file_path = os.path.join(root, file)
print(file_path)
Looking at the results I'll only have two courses that didn't download successfully
E:\out_dir\the-python-mega-course\30 - Day 27 - App 5 Build a Daily News Digest with Python (Part 1)\001 ▶️ Today.mp4.part.frag.urls
E:\out_dir\the-python-mega-course\53 - Day 46 - App 13 Build an SQLite Student Management System with PyQt (Part 2)\006 ✎ Student Project - Implement the Search Functionality.mp4.part.frag.urls
So what command should I use to download these two courses separately?
After I ran it repeatedly for a night, it seemed to have good results. But there are still some courses that have not been downloaded. Here is my detection code
import os directory = r"E:\out_dir\the-python-mega-course" for root, dirs, files in os.walk(directory): for file in files: ext = os.path.splitext(file)[1] if ext == ".urls": file_path = os.path.join(root, file) print(file_path)
Looking at the results I'll only have two courses that didn't download successfully
E:\out_dir\the-python-mega-course\30 - Day 27 - App 5 Build a Daily News Digest with Python (Part 1)\001 ▶️ Today.mp4.part.frag.urls E:\out_dir\the-python-mega-course\53 - Day 46 - App 13 Build an SQLite Student Management System with PyQt (Part 2)\006 ✎ Student Project - Implement the Search Functionality.mp4.part.frag.urls
So what command should I use to download these two courses separately?
you solved the issue? its giving me same error
After I ran it repeatedly for a night, it seemed to have good results. But there are still some courses that have not been downloaded. Here is my detection code
import os directory = r"E:\out_dir\the-python-mega-course" for root, dirs, files in os.walk(directory): for file in files: ext = os.path.splitext(file)[1] if ext == ".urls": file_path = os.path.join(root, file) print(file_path)
Looking at the results I'll only have two courses that didn't download successfully
E:\out_dir\the-python-mega-course\30 - Day 27 - App 5 Build a Daily News Digest with Python (Part 1)\001 ▶️ Today.mp4.part.frag.urls E:\out_dir\the-python-mega-course\53 - Day 46 - App 13 Build an SQLite Student Management System with PyQt (Part 2)\006 ✎ Student Project - Implement the Search Functionality.mp4.part.frag.urls
So what command should I use to download these two courses separately?
use feat/refactor
What happened?
run : python main.py -c https://www.udemy.com/course/the-python-mega-course
Expected Result
All courses should be downloaded in full at once
Branch
master/main
What operating systems are you seeing the problem on?
Windows
Relevant log output
Other information
I've run it 6 times and it's still not downloading.