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
Drop note about older versions, they do not work with current site
Also update version number to reflect the new version
  • Loading branch information
voyageur committed Jul 29, 2018
1 parent ba01cb5 commit 58db265
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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

### Gentoo installation
dagr is available in the voyageur overlay (https://cafarelli.fr/cgi-bin/cgit.cgi/voyageur-overlay/).
Expand Down Expand Up @@ -51,9 +51,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 58db265

Please sign in to comment.