udemy error #8763

Closed
opened 2026-02-21 04:30:53 -05:00 by deekerman · 4 comments
Owner

Originally created by @jaan143 on GitHub (Sep 19, 2016).

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.09.19. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [x ] I've verified and I assure that I'm running youtube-dl 2016.09.19

Before submitting an issue make sure you have:

  • [x ] At least skimmed through README and most notably FAQ and BUGS sections
  • [ x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [x ] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.09.19
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

i am getting error with udemy course downloading

PS C:\Users\HDNLUF037.WIN-IPDLDV1QL5B> youtube-dl --verbose -u xxx -p xxx -o '/MyVideos/%(playli
st)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/coursemarketing1/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-u', 'PRIVATE', '-p', 'PRIVATE', '-o', '
/MyVideos/%(playlist)s/%(chapter_numb
er)s - %(chapter)s/%(title)s.%(ext)s', 'https://www.udemy.com/coursemarketing1/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.09.19
[debug] Python version 3.4.3 - Windows-2012Server-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in as xxx
[udemy:course] coursemarketing1: Downloading webpage
[udemy:course] 912544: Downloading course curriculum
[download] Downloading playlist: Online Course Marketing #1: Start Getting More Sales Today
[udemy:course] playlist Online Course Marketing #1: Start Getting More Sales Today: Collected 9 video ids (downloading 9
of them)
[download] Downloading video 1 of 9
[udemy] Downloading login popup
[udemy] 5471890: Downloading webpage
[udemy] 5471890: Downloading lecture JSON
[udemy] 6463828: Downloading m3u8 information
WARNING: "id" field is not a string - forcing string conversion
[debug] Invoking downloader on 'https://udemy-adaptive-streaming-prod.udemy.com/912544/6463828/2016-07-25_17-22-43-8285b
c3343cfe400cf883f27615fa314/hls/hls_1080_5800/4b20ef13af2408671ba444ad289664f8.m3u8?mign=EEsICBhKCVJee1NbH0wUJQU2CBUZDRF
ZWX1UXwFZQXBcX1BeGQFUDTc9GhtWTEliGBweIxkJXQoOLBAfEUJRIRgaGQgrAVdBUn9XXQBWQXhHSwkPERpsCgxrWVoCWkF0U1pMUFYLXBYaOgY0WgpRelJ
YTklAXE4%3D'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 15
[download] Destination: C:\Users\HDNLUF037.WIN-IPDLDV1QL5B\MyVideos\Online Course Marketing #1 - Start Getting More Sale
s Today\1 - Course Introduction & Course Benefits - How I Will Help You Market Your Courses!\Introduction - Start Gettin
g More Premium Enrollments To Your Online Course Today.mp4
ERROR: unable to download video data: [Errno 2] No such file or directory: 'C:\Users\HDNLUF037.WIN-IPDLDV1QL5B\MyVide
os\Online Course Marketing #1 - Start Getting More Sales Today\1 - Course Introduction & Course Benefits - How I Will
Help You Market Your Courses!\Introduction - Start Getting More Premium Enrollments To Your Online Course Today.mp4.par
t'
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 1699, in process_info
success = dl(filename, info_dict)
File "C:\Python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 1641, in dl
return fd.download(name, info)
File "C:\Python34\lib\site-packages\youtube_dl\downloader\common.py", line 354, in download
return self.real_download(filename, info_dict)
File "C:\Python34\lib\site-packages\youtube_dl\downloader\hls.py", line 85, in real_download
self._prepare_and_start_frag_download(ctx)
File "C:\Python34\lib\site-packages\youtube_dl\downloader\fragment.py", line 41, in _prepare_and_start_frag_download
self._prepare_frag_download(ctx)
File "C:\Python34\lib\site-packages\youtube_dl\downloader\fragment.py", line 63, in _prepare_frag_download
dest_stream, tmpfilename = sanitize_open(tmpfilename, 'wb')
File "C:\Python34\lib\site-packages\youtube_dl\utils.py", line 418, in sanitize_open
stream = open(encodeFilename(filename), open_mode)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\HDNLUF037.WIN-IPDLDV1QL5B\MyVideos\Online Course M
arketing #1 - Start Getting More Sales Today\1 - Course Introduction & Course Benefits - How I Will Help You Market You
r Courses!\Introduction - Start Getting More Premium Enrollments To Your Online Course Today.mp4.part'

PS C:\Users\HDNLUF037.WIN-IPDLDV1QL5B>

Originally created by @jaan143 on GitHub (Sep 19, 2016). ## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.09.19_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x ] I've **verified** and **I assure** that I'm running youtube-dl **2016.09.19** ### Before submitting an _issue_ make sure you have: - [x ] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [ x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [x ] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` $ youtube-dl -v <your command line> [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2016.09.19 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} ... <end of log> ``` --- ### If the purpose of this _issue_ is a _site support request_ please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**): - Single video: https://www.youtube.com/watch?v=BaW_jenozKc - Single video: https://youtu.be/BaW_jenozKc - Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc --- ### Description of your _issue_, suggested solution and other information i am getting error with udemy course downloading PS C:\Users\HDNLUF037.WIN-IPDLDV1QL5B> youtube-dl --verbose -u xxx -p xxx -o '~/MyVideos/%(playli st)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/coursemarketing1/ [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', '-u', 'PRIVATE', '-p', 'PRIVATE', '-o', '~/MyVideos/%(playlist)s/%(chapter_numb er)s - %(chapter)s/%(title)s.%(ext)s', 'https://www.udemy.com/coursemarketing1/'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2016.09.19 [debug] Python version 3.4.3 - Windows-2012Server-6.2.9200 [debug] exe versions: none [debug] Proxy map: {} [udemy:course] Downloading login popup [udemy:course] Logging in as xxx [udemy:course] coursemarketing1: Downloading webpage [udemy:course] 912544: Downloading course curriculum [download] Downloading playlist: Online Course Marketing #1: Start Getting More Sales Today [udemy:course] playlist Online Course Marketing #1: Start Getting More Sales Today: Collected 9 video ids (downloading 9 of them) [download] Downloading video 1 of 9 [udemy] Downloading login popup [udemy] 5471890: Downloading webpage [udemy] 5471890: Downloading lecture JSON [udemy] 6463828: Downloading m3u8 information WARNING: "id" field is not a string - forcing string conversion [debug] Invoking downloader on 'https://udemy-adaptive-streaming-prod.udemy.com/912544/6463828/2016-07-25_17-22-43-8285b c3343cfe400cf883f27615fa314/hls/hls_1080_5800/4b20ef13af2408671ba444ad289664f8.m3u8?mign=EEsICBhKCVJee1NbH0wUJQU2CBUZDRF ZWX1UXwFZQXBcX1BeGQFUDTc9GhtWTEliGBweIxkJXQoOLBAfEUJRIRgaGQgrAVdBUn9XXQBWQXhHSwkPERpsCgxrWVoCWkF0U1pMUFYLXBYaOgY0WgpRelJ YTklAXE4%3D' [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 15 [download] Destination: C:\Users\HDNLUF037.WIN-IPDLDV1QL5B\MyVideos\Online Course Marketing #1 - Start Getting More Sale s Today\1 - Course Introduction & Course Benefits - How I Will Help You Market Your Courses!\Introduction - Start Gettin g More Premium Enrollments To Your Online Course Today.mp4 ERROR: unable to download video data: [Errno 2] No such file or directory: 'C:\Users\HDNLUF037.WIN-IPDLDV1QL5B\MyVide os\Online Course Marketing #1 - Start Getting More Sales Today\1 - Course Introduction & Course Benefits - How I Will Help You Market Your Courses!\Introduction - Start Getting More Premium Enrollments To Your Online Course Today.mp4.par t' Traceback (most recent call last): File "C:\Python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 1699, in process_info success = dl(filename, info_dict) File "C:\Python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 1641, in dl return fd.download(name, info) File "C:\Python34\lib\site-packages\youtube_dl\downloader\common.py", line 354, in download return self.real_download(filename, info_dict) File "C:\Python34\lib\site-packages\youtube_dl\downloader\hls.py", line 85, in real_download self._prepare_and_start_frag_download(ctx) File "C:\Python34\lib\site-packages\youtube_dl\downloader\fragment.py", line 41, in _prepare_and_start_frag_download self._prepare_frag_download(ctx) File "C:\Python34\lib\site-packages\youtube_dl\downloader\fragment.py", line 63, in _prepare_frag_download dest_stream, tmpfilename = sanitize_open(tmpfilename, 'wb') File "C:\Python34\lib\site-packages\youtube_dl\utils.py", line 418, in sanitize_open stream = open(encodeFilename(filename), open_mode) FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\HDNLUF037.WIN-IPDLDV1QL5B\MyVideos\Online Course M arketing #1 - Start Getting More Sales Today\1 - Course Introduction & Course Benefits - How I Will Help You Market You r Courses!\Introduction - Start Getting More Premium Enrollments To Your Online Course Today.mp4.part' PS C:\Users\HDNLUF037.WIN-IPDLDV1QL5B>
deekerman 2026-02-21 04:30:53 -05:00
Author
Owner

@jaan143 commented on GitHub (Sep 20, 2016):

hello i figure out
when i use this command then i got error
youtube-dl --verbose -u xxx -p xxx -o '~/MyVideos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/coursemarketing1/

but when i am using this command then its working fine
youtube-dl --verbose -u xxx -p xxx https://www.udemy.com/coursemarketing1/

but with second command all videos not saving in section folders

@jaan143 commented on GitHub (Sep 20, 2016): hello i figure out when i use this command then i got error youtube-dl --verbose -u xxx -p xxx -o '~/MyVideos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/coursemarketing1/ but when i am using this command then its working fine youtube-dl --verbose -u xxx -p xxx https://www.udemy.com/coursemarketing1/ but with second command all videos not saving in section folders
Author
Owner

@dstftw commented on GitHub (Sep 20, 2016):

C:\Users\HDNLUF037.WIN-IPDLDV1QL5B\MyVideos\Online Course Marketing #1 - Start Getting More Sales Today\1 - Course Introduction & Course Benefits - How I Will Help You Market Your Courses!\Introduction - Start Getting More Premium Enrollments To Your Online Course Today.mp4.part exceeds ~260 characters limit.

@dstftw commented on GitHub (Sep 20, 2016): `C:\Users\HDNLUF037.WIN-IPDLDV1QL5B\MyVideos\Online Course Marketing #1 - Start Getting More Sales Today\1 - Course Introduction & Course Benefits - How I Will Help You Market Your Courses!\Introduction - Start Getting More Premium Enrollments To Your Online Course Today.mp4.part` exceeds ~260 characters limit.
Author
Owner

@jaan143 commented on GitHub (Sep 22, 2016):

then how can i short lecture names or any command which is auto short lecture names if its exceeds limit ?

@jaan143 commented on GitHub (Sep 22, 2016): then how can i short lecture names or any command which is auto short lecture names if its exceeds limit ?
Author
Owner

@dstftw commented on GitHub (Sep 22, 2016):

Skip some placeholders in output template or use \\?\ prefix to workaround the limit.

@dstftw commented on GitHub (Sep 22, 2016): Skip some placeholders in output template or use `\\?\` prefix to workaround the limit.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#8763
No description provided.