Comments (20)
Hi @n08976 , kindly upgrade gb-dl using pip install gb-dl -U and try again.
Thanks
from gb-dl.
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.
from gb-dl.
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.
ok whatever you need ... just give me instructions on how to get the proper cookie details as that can vary
from gb-dl.
from gb-dl.
sent
from gb-dl.
from gb-dl.
Issue fixed upgrade gb-dl .
Thanks
from gb-dl.
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.
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.
_____ ____ _ _
/ ____| _ \ | | |
| | __| |_) | ______ __| | |
| | |_ | _ < |______| / _` | |
| |__| | |_) | | (_| | |
\_____|____/ \__,_|_|
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.
Its working on my side on windows
from gb-dl.
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.
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.
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.
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.
from gb-dl.
Try upgrading to v1.6.5.9 I compiled in linux (It seems compiling in windows is an issue)]
Thanks.
from gb-dl.
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)
- No key after purchase HOT 2
- Invalid course URL for https://learndataengineering.com/courses HOT 1
- Invalid course URL error for "https://serpentine-studies.teachable.com/courses" HOT 3
- Invalid course URL error for "https://navadance.teachable.com/courses" HOT 4
- Usage HOT 21
- Could not contact remote server HOT 2
- No key after purchase HOT 3
- 503 Service Unavailable HOT 3
- Invalid Course URL For https://growyouragency.teachable.com/courses/enrolled/632756 HOT 8
- Can not download courses that have '/' in the course name HOT 21
- [-] Invalid course URL. HOT 4
- Invalid course URL HOT 8
- [-] Error: [Errno 2] No such file or directory: 'C:\\Users\\______\\.gb_dl\\recovery.jsonlz4' HOT 5
- Paid, Didn't get licence HOT 2
- Connection timed out to venvgb.cf HOT 3
- "Enter Cookie Instead" HOT 1
- [-] Invalid course URL. HOT 12
- Error cannot download attachment. Saving URL HOT 2
- Connection
- I can't type in my password HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gb-dl.