https://github.com/slice/mdl
Curseforge mod downloading library for Python 3.6+.
https://github.com/slice/mdl
Last synced: about 1 year ago
JSON representation
Curseforge mod downloading library for Python 3.6+.
- Host: GitHub
- URL: https://github.com/slice/mdl
- Owner: slice
- License: mit
- Created: 2018-06-13T02:35:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-13T21:35:48.000Z (almost 8 years ago)
- Last Synced: 2025-01-21T16:24:00.481Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mdl
mdl is a Python 3.6 library and script aimed at making downloading things from
Curseforge easier and intuitive.
## Installing
Python 3.6+ required.
```sh
$ pip3 install 'git+https://github.com/slice/mdl.git'
```
### Dependencies
Installed by `pip` automatically:
* `requests`
* `beautifulsoup4`
## Usage
```py
>>> from mdl.curse import search
>>> results = search('Tinkers Construct')
>>> results
[
,
,
]
>>> next(project for project in results if project.name == 'Tinkers Construct')
>>> tinkers_construct = _
>>> tinkers_construct.files()
[
,
,
]
```