Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Update deps and doc for mechanicalbrowser, closes #26
Browse files Browse the repository at this point in the history
Update readme file (drrop note about older versions, they do not work
with current site, update installation instructions, drop changelog
link)
Also update version number to reflect the new version
  • Loading branch information
voyageur committed Jul 29, 2018
1 parent ba01cb5 commit f4b2923
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
25 changes: 15 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,30 @@ dagr.py (deviantArt gallery ripper) is a deviantArt image downloader script writ
It can download every image (deviation) in a gallery, as well as every favorited deviation a deviant may have.
Originally developed at http://lovecastle.org/dagr/ (now defunct), development now continues on Github

Changelog is available [here](CHANGELOG.md)

### Dependencies
* a working Python installation (2.x or 3.x)
* robobrowser module (https://github.com/jmcarp/robobrowser), and its dependencies
* MechanicalSoup module (https://github.com/MechanicalSoup/MechanicalSoup), and its dependencies

### Installation
dagr is available on PyPI and has setuptools support
So to install latest released version, you can just run:
```
# pip install dagr
```

To install from checked out source:
```
# python setup.py install
```

### Gentoo installation
### Gentoo package
dagr is available in the voyageur overlay (https://cafarelli.fr/cgi-bin/cgit.cgi/voyageur-overlay/).
You can install it with layman:
```
# layman -a voyageur
# emerge dagr
```

### Current bugs and limitations
These should be tracked here: https://github.com/voyageur/dagr/issues

Expand Down Expand Up @@ -51,9 +62,3 @@ Sometimes deviantArt reports the wrong number of deviations in a gallery. This i

- Why can I not download mature deviations?
You need to enable the mature content download option, either in the configuration file or via the "-m" command line flag

### Older versions

These may still work or not, but have smaller dependencies:
* Versions before 0.50 only depend on Python, but can not download full images or other file types
* Versions 0.5x are python-2.x only, and depend on the mechanize module
2 changes: 1 addition & 1 deletion dagr/dagr.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Dagr:
"""deviantArt gallery ripper class"""

NAME = basename(__file__)
__version__ = "0.65"
__version__ = "0.70"
MAX_DEVIATIONS = 1000000 # max deviations
ART_PATTERN = (r"https://www\.deviantart\.com/"
r"[a-zA-Z0-9_-]*/art/[a-zA-Z0-9_-]*")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def find_version(fname):
scripts=['dagr/dagr.py'],
data_files=[('share/dagr', ['dagr_settings.ini.sample'])],
packages=(),
install_requires=["robobrowser == 0.5.3"],
install_requires=["MechanicalSoup >= 0.10.0"],
)

0 comments on commit f4b2923

Please sign in to comment.