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

Can't use the application #39

Closed
KaydenKhor opened this issue Mar 21, 2021 · 29 comments
Closed

Can't use the application #39

KaydenKhor opened this issue Mar 21, 2021 · 29 comments

Comments

@KaydenKhor
Copy link

Hey I've donated and got my key.
When i run gb-dl.py it still comes up the initial file.

The download link doesn't have any new scripts.

can someone guide me?

@barakagb
Copy link
Owner

Hi @KaydenKhor , please share a screenshot . Have you installed gb-dl using pip install gb-dl ?

@barakagb
Copy link
Owner

try python gb-dl.py . If it fails check you env variables to see if python is added.

@KaydenKhor
Copy link
Author

python: can't open file 'gb-dl.py': [Errno 2] No such file or directory

This is what i got

@KaydenKhor
Copy link
Author

why does it says invalid course url?

@barakagb
Copy link
Owner

Did you get it to run?
Can you share the course url ?

@KaydenKhor
Copy link
Author

learn.xfactormethod.com

@KaydenKhor
Copy link
Author

Hello is it possible that your code is not working? sorry.
Because I tried https://instagrizzle.teachable.com/
it says invalid course URL as well @barakagb

@barakagb
Copy link
Owner

barakagb commented Mar 21, 2021 via email

@barakagb
Copy link
Owner

@kayden . I have added the sites .Please try to download now and let me know. Thanks

@KaydenKhor
Copy link
Author

It says enter cookies instead:

@KaydenKhor
Copy link
Author

What do i do when it replies:
[-] Cookie authentication failed!

@KaydenKhor
Copy link
Author

@barakagb This is what i got now:

Browser: firefox
Trying cookie authentication ...
[+] Cookie authentication succeeded
[+] Logged in as XXXXXXX
Downloading to :C:\Users\XXXXXXXXXXXXXXXXX\AppData\Local\Programs\Python\Python37-32\Scripts
Collecting course information ...
[-] Error : 'NoneType' object has no attribute 'find'

@barakagb
Copy link
Owner

Yes so know you need to extract cookies from your browser.An easy way of doing that is log on to the site with Firefox once successful logged in run gb-dl.py -d firefox it will automatically load the cookies for you.

@KaydenKhor
Copy link
Author

@barakagb Why do i get the [-] Error : 'NoneType' object has no attribute 'find'

@barakagb
Copy link
Owner

@barakagb This is what i got now:

Browser: firefox
Trying cookie authentication ...
[+] Cookie authentication succeeded
[+] Logged in as XXXXXXX
Downloading to :C:\Users\XXXXXXXXXXXXXXXXX\AppData\Local\Programs\Python\Python37-32\Scripts
Collecting course information ...
[-] Error : 'NoneType' object has no attribute 'find'

It seems the site you are downloading from is a bit different. I will have to update the script for you.On the mean time just try different sites and let me know which do not work.

@KaydenKhor
Copy link
Author

I tried both websites, they gave me the same error of
[-] Error : 'NoneType' object has no attribute 'find'

Let me know once the script is updated. Thanks.

@KaydenKhor
Copy link
Author

@barakagb Is it done already?

@barakagb
Copy link
Owner

Yes @KaydenKhor please upgrade to 1.6.9.1 using pip install gb-dl -U .
image

@KaydenKhor
Copy link
Author

@barakagb It's still not working for both the websites...

@KaydenKhor
Copy link
Author

Could it because of the fact that they link it to their own domain from teachable?

@barakagb
Copy link
Owner

I have tested it on https://instagrizzle.teachable.com/ and it works . I have not tested it on the xfactormethod b'se I do not have access to any course there , you can privately send me cookies to xfactormethod so that I try to fix it. Thanks.

@KaydenKhor
Copy link
Author

@barakagb instagrizzle works fine. What's your email?

@barakagb
Copy link
Owner

info@gb-dl.cf

@KaydenKhor
Copy link
Author

Done.

@barakagb
Copy link
Owner

Done.!! upgrade to v1.6.9.2 using pip install gb-dl -U . Cheers!!

@KaydenKhor
Copy link
Author

Yes it works! Does that mean that if i got any other new URL, I have to inform you to update the URL?

@barakagb
Copy link
Owner

Different courses have different structures . Some may download others may need updating the script. So if you face that just raise an issue here on github.

@KaydenKhor
Copy link
Author

What about all the notes in the specific videos on teachable? is it downloadable?

@barakagb
Copy link
Owner

barakagb commented Mar 22, 2021 via email

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

No branches or pull requests

2 participants