1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[deviantart] add debug message about API credentials (#424)

This commit is contained in:
Mike Fährmann 2019-09-25 21:20:55 +02:00
parent 80c2104fb5
commit 38d97f3da6
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -828,6 +828,12 @@ class DeviantartAPI():
self.client_secret = extractor.config(
"client-secret", self.CLIENT_SECRET)
self.log.debug(
"Using %s API credentials (client-id %s)",
"default" if self.client_id == self.CLIENT_ID else "custom",
self.client_id,
)
def browse_popular(self, query=None, timerange=None,
category_path=None, offset=0):
"""Yield popular deviations"""