Git Product home page Git Product logo

Comments (20)

barakagb avatar barakagb commented on May 23, 2024

Hi @n08976 , kindly upgrade gb-dl using pip install gb-dl -U and try again.

Thanks

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

Ok the upgrade worked.
Fails elsewhere with

Collecting course information ...
[-] Error : 'NoneType' object has no attribute 'find'

Also, how can I change the download location?

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

Screen Shot 2020-09-23 at 9 49 29 AM

from gb-dl.

barakagb avatar barakagb commented on May 23, 2024

okay lemme look into that error, I may require you to share cookies via email since I don't have a course there to test , as for the download location simply open gb-dl in the directory you want it to download to.

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

ok whatever you need ... just give me instructions on how to get the proper cookie details as that can vary

from gb-dl.

barakagb avatar barakagb commented on May 23, 2024

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

sent

from gb-dl.

barakagb avatar barakagb commented on May 23, 2024

from gb-dl.

barakagb avatar barakagb commented on May 23, 2024

Issue fixed upgrade gb-dl .

Thanks

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

upgrade successful ... error on run

users-iMac:gb-dl-master user$ gb-dl.py
/usr/local/Cellar/pyenv/1.2.20/libexec/pyenv-exec: /Users/user/.pyenv/versions/3.7.3/bin/gb-dl.py: /usr/bin/python^M: bad interpreter: No such file or directory
/usr/local/Cellar/pyenv/1.2.20/libexec/pyenv-exec: line 48: /Users/user/.pyenv/versions/3.7.3/bin/gb-dl.py: Undefined error: 0
users-iMac:gb-dl-master user$

Checking my paths atm

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

looks like theres an invalid character?
/usr/local/Cellar/pyenv/1.2.20/libexec/pyenv-exec: /Users/user/.pyenv/versions/3.7.3/bin/gb-dl.py: /usr/bin/python^M: bad interpreter: No such file or directory

from gb-dl.

barakagb avatar barakagb commented on May 23, 2024
  _____ ____                 _ _
              / ____|  _ \               | | |
             | |  __| |_) |  ______    __| | |
             | | |_ |  _ <  |______|  / _` | |
             | |__| | |_) |          | (_| | |
              \_____|____/            \__,_|_|

                                    Version : v1.6.5.8
                        Author  : BarakaGB
                        Visit   : https://github.com/barakagb/gb-dl
                        Donation: https://www.buymeacoffee.com/barakagb
                        Key url : https://bmc.xyz/l/gbdl

A python based utility to download courses from infosec4tc.teachable.com ,
ehacking.net ,stackskills.com and designerup.co ...etc for personal offline
use.


Usage: gb-dl.py [-h]

Enter course url :

from gb-dl.

barakagb avatar barakagb commented on May 23, 2024

Its working on my side on windows

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

ok fixed that issue with the following:
open gb-dl in vi and ":set fileformat=unix"
then write and quit

now i get an error:
users-iMac:gb-dl-master user$ gb-dl.py
Traceback (most recent call last):
File "/Users/user/.pyenv/versions/3.7.3/bin/gb-dl.py", line 14, in
import cfscraper as scrape
ImportError: No module named cfscraper

cfscraper is installed - ran pip install cfscrape as well as pip install -U cfscrape

any ideas?

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

users-iMac:gb-dl-master user$ gb-dl.py
Traceback (most recent call last):
File "/Users/user/.pyenv/versions/3.7.3/bin/gb-dl.py", line 14, in
import cfscraper as scrape
ImportError: No module named cfscraper

users-iMac:gb-dl-master user$ pip search cfscraper
cfscraper (0.16) - A Python module to bypass Cloudflare's anti-bot page.
INSTALLED: 0.16 (latest)

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

users-iMac:gb-dl-master user$ pip show cfscrape
Name: cfscrape
Version: 2.1.1
Summary: A simple Python module to bypass Cloudflare's anti-bot page. See https://github.com/Anorov/cloudflare-scrape for more information.
Home-page: https://github.com/Anorov/cloudflare-scrape
Author: Anorov
Author-email: [email protected]
License: UNKNOWN
Location: /Users/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages
Requires: requests
Required-by:

users-iMac:gb-dl-master user$ pip show cfscraper
Name: cfscraper
Version: 0.16
Summary: A Python module to bypass Cloudflare's anti-bot page.
Home-page: UNKNOWN
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Location: /Users/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages
Requires: requests, requests-toolbelt, pyparsing
Required-by: gb-dl

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

Multiple attempts at reinstalling cfscrape and cfsraper - no luck.

users-iMac:gb-dl-master user$ pip install --upgrade --no-deps --force-reinstall cfscrape
Collecting cfscrape
Using cached cfscrape-2.1.1-py3-none-any.whl (12 kB)
Installing collected packages: cfscrape
Attempting uninstall: cfscrape
Found existing installation: cfscrape 2.1.1
Uninstalling cfscrape-2.1.1:
Successfully uninstalled cfscrape-2.1.1
Successfully installed cfscrape-2.1.1

users-iMac:gb-dl-master user$ pip install --upgrade --no-deps --force-reinstall cfscraper
Collecting cfscraper
Using cached cfscraper-0.16.tar.gz (94 kB)
Using legacy 'setup.py install' for cfscraper, since package 'wheel' is not installed.
Installing collected packages: cfscraper
Attempting uninstall: cfscraper
Found existing installation: cfscraper 0.16
Uninstalling cfscraper-0.16:
Successfully uninstalled cfscraper-0.16
Running setup.py install for cfscraper ... done
Successfully installed cfscraper-0.16

users-iMac:gb-dl-master user$ gb-dl.py
Traceback (most recent call last):
File "/Users/user/.pyenv/versions/3.7.3/bin/gb-dl.py", line 14, in
import cfscraper as scrape
ImportError: No module named cfscraper

from gb-dl.

barakagb avatar barakagb commented on May 23, 2024

from gb-dl.

barakagb avatar barakagb commented on May 23, 2024

Try upgrading to v1.6.5.9 I compiled in linux (It seems compiling in windows is an issue)]

Thanks.

from gb-dl.

n08976 avatar n08976 commented on May 23, 2024

Great ... i see you are up to 1.6.6

Seems to be working!

Downloading to :/Users/user/Downloads/gb-dl-master
Collecting course information ...
Course name : Cxxx : High School Edition
Getting course sections ...
Downloading course image ...

[+] Found Section : THE Cxxx Gxxx (ORIGINAL VIDEO SERIES)

Preparing lecture 1 of 39 download ...
Starting download ...
[Wistia] m9icn9oasl: Downloading JSON metadata
[download] Destination: Module 1.m4v-m9icn9oasl.bin
[download] 18.3% of 337.37MiB at 4.08MiB/s ETA 01:07

from gb-dl.

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.