Skip to content

Commit

Permalink
[flickr] improve code and metadata
Browse files Browse the repository at this point in the history
- simplify pagination
- add more metadata and slightly change its structure
  - convert suitable values to int or list
  - move keys from ["photo"] to the base level
- proper video support (#246)
- rename method and variable names to better fit with other extractors
  • Loading branch information
mikf committed May 14, 2019
1 parent aa8e366 commit 9890bfd
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 116 deletions.
8 changes: 4 additions & 4 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -529,12 +529,12 @@ Description The ``access_token`` and ``access_token_secret`` values you get
=========== =====


extractor.flickr.metadata
-------------------------
extractor.flickr.videos
-----------------------
=========== =====
Type ``bool``
Default ``false``
Description Load additional metadata when using the single-image extractor.
Default ``true``
Description Extract and download videos.
=========== =====


Expand Down
2 changes: 1 addition & 1 deletion docs/gallery-dl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{
"access-token": null,
"access-token-secret": null,
"metadata": false,
"videos": true,
"size-max": null
},
"gelbooru":
Expand Down
Loading

0 comments on commit 9890bfd

Please sign in to comment.