Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udemy error #10704

Closed
jaan143 opened this issue Sep 19, 2016 · 4 comments
Closed

udemy error #10704

jaan143 opened this issue Sep 19, 2016 · 4 comments

Comments

@jaan143
Copy link

@jaan143 jaan143 commented 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>

@jaan143
Copy link
Author

@jaan143 jaan143 commented 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

@dstftw
Copy link
Collaborator

@dstftw dstftw commented 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 dstftw closed this Sep 20, 2016
@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 22, 2016

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

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 22, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.