Comments (1)
It works for me. It's the way you're using it.
The following should work:
$ githubdl -u https://github.com/jrowberg/i2cdevlib -d Arduino/MPU6050 -t ./i2cdeb
resulting in:
2018-11-07 18:29:46,484 - root - INFO - Retrieving a list of files for directory: Arduino/MPU6050
2018-11-07 18:29:46,485 - root - INFO - repo_name: jrowberg/i2cdevlib api_path: contents request_string: /Arduino/MPU6050
2018-11-07 18:29:46,485 - root - INFO - Requesting file: Arduino/MPU6050 at url: https://api.github.com/repos/jrowberg/i2cdevlib/contents/Arduino/MPU6050 2018-11-07 18:29:47,773 - root - INFO - repo_name: jrowberg/i2cdevlib api_path: contents request_string: /Arduino/MPU6050/MPU6050.cpp
2018-11-07 18:29:47,774 - root - INFO - Requesting file: Arduino/MPU6050/MPU6050.cpp at url: https://api.github.com/repos/jrowberg/i2cdevlib/contents/Arduino/MPU6050/MPU6050.cpp
2018-11-07 18:29:49,604 - root - INFO - Writing to file: ./i2cdeb/MPU6050/MPU6050.cpp
2018-11-07 18:29:49,605 - root - INFO - repo_name: jrowberg/i2cdevlib api_path: contents request_string: /Arduino/MPU6050/MPU6050.h
2018-11-07 18:29:49,605 - root - INFO - Requesting file: Arduino/MPU6050/MPU6050.h at url: https://api.github.com/repos/jrowberg/i2cdevlib/contents/Arduino/MPU6050/MPU6050.h
2018-11-07 18:29:51,188 - root - INFO - Writing to file: ./i2cdeb/MPU6050/MPU6050.h
2018-11-07 18:29:51,189 - root - INFO - repo_name: jrowberg/i2cdevlib api_path: contents request_string: /Arduino/MPU6050/MPU6050_6Axis_MotionApps20.h 2018-11-07 18:29:51,189 - root - INFO - Requesting file: Arduino/MPU6050/MPU6050_6Axis_MotionApps20.h at url: https://api.github.com/repos/jrowberg/i2cdevlib/contents/Arduino/MPU6050/MPU6050_6Axis
_MotionApps20.h
2018-11-07 18:29:52,745 - root - INFO - Writing to file: ./i2cdeb/MPU6050/MPU6050_6Axis_MotionApps20.h
2018-11-07 18:29:52,746 - root - INFO - repo_name: jrowberg/i2cdevlib api_path: contents request_string: /Arduino/MPU6050/MPU6050_9Axis_MotionApps41.h
2018-11-07 18:29:52,746 - root - INFO - Requesting file: Arduino/MPU6050/MPU6050_9Axis_MotionApps41.h at url: https://api.github.com/repos/jrowberg/i2cdevlib/contents/Arduino/MPU6050/MPU6050_9Axis
_MotionApps41.h
2018-11-07 18:29:54,205 - root - INFO - Writing to file: ./i2cdeb/MPU6050/MPU6050_9Axis_MotionApps41.h
from githubdl.
Related Issues (12)
- Add ability to download a path using a wildcard search or globs
- feature_request(enhancement): submodules support HOT 2
- Add ability to download all repos for a user/organisation
- feature request: specify branch HOT 1
- use makefile instead of auto path
- Create static home page for githubdl HOT 1
- Exception: 'str' object has no attribute 'get' HOT 2
- Test and get working on Windows
- Error when downloading HOT 1
- Add ability to interpret path and reference from full url HOT 4
- Fix Readme.md to be Readme.rtf
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 githubdl.