Giter Site home page Giter Site logo

Comments (20)

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

I've tested latest version on *nix, os* and win* against all currently available courses and I can't replicate the issues you're seeing.

Unfortunately I don't have access to M101J.

Error seems to indicate issue with python or error on YouTube's site. I'd suggest reinstalling latest version of python and update to the latest version of mongo-edu and to try again.

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

Thanks for speedy response. I'm using latest mongo-edu package v0.1.34, but I'll try v2.x python instead.
Just found this which sounds promising ytdl-org/youtube-dl#1170
But where would I be able to add the --no-check-certificate option ?

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

same error with Python v2.7.8 :(
I am seeing same error response as in ytdl-org/youtube-dl#2540

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

To run mongo-edu with --no-check-certificate flag enabled just add --ncc.

Just tested the https://youtu.be/8q2GB3QSBSI and I can download it just fine without any errors with the default mongo-edu options.

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

--ncc option had no effect.
I have both VirtualBox and VMWare installed - could these be interfering with resolving the youtube urls , although theres no problems via web browser ??

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Do you experience similar issues with other courses?

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

my first course I'm afraid

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Sign in for any other course still available and try to test if you can download any videos.

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

no other courses active at the moment on mongodb uni :(

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

You should be able to sign in into other courses that are already live.

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

My mistake, there was one other course. Just registered and tried M101P but still same result.

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

I'm a complete noob when it comes to node.js ; is there any way of getting a more verbose output (assuming that python isn't at fault) ? proper logging etc

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

As you experiencing the same issue with the other course as well it looks like there is an issue on your system as I can't replicate this behaviour so far.

It seems to be related to python or youtube-dl. Are you running mongo-edu on win7 or on virtualbox/vmware? Is your access via home / work network / proxy?

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

win 7 64 bit via cmd;
I had problems with corporate proxy and was running at home with direct connection.
The laptop is work related so I'm going to try on personal desktop I have (also win 7).
I'm beginning to think that this issue is permissions related.
Should I need to run cmd as Administrator ?
Does node require special privileges?

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Give it a go and run cmd as admin also try on the personal laptop as it looks like there might be some issues with the corporate proxy. Obviously read/write rights are required as you download and save files locally.

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

I think my DNS server is not handling the mangled youtube URLs. Is there some way to get the proper URLs where there isn't a dot between the u and b ??

Also the log file npm-debug.log is only generated sometimes which doesn't make sense, is there a way to enable this permanently?

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

Installed and downloaded without a hitch on my desktop. It must be some network/permissions problem on my work laptop (probably the latter) that python is unable to get around. I think this issue is fairly common, all relating to youtube-dl, but after a lot of googling I can't find anyone who's solved it...
e.g.
ytdl-org/youtube-dl#2219

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Cool. Thanks for the update also bump it to v0.1.35 this fixes progress bar issues.

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

I thought I solved it after posting the issue against youtube-dl ytdl-org/youtube-dl#3725 (python was still using my corporate proxy settings) but found that the proxy and verbose options don't seem to have any effect when running mongo-edu. I've been running it like this:

node mongo-edu --cw -d videos

and with extra options (but no difference)

node mongo-edu --proxy "" --cw -d videos --verbose

working directory is APPDATA\npm\node_modules\mongo-edu\bin
Why can't I pass in the python arguments ?

from mongo-edu.

professorxuk avatar professorxuk commented on July 30, 2024

Good news is that I got it working now on the laptop. I had to disable my LAN proxy server option. Seems so obvious now!
Accepting the extra arguments would be very useful though but I'm not sure if this is a node.jas issue or a mongo-dl issue or perhaps node-youtube-dl.

from mongo-edu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.