[pinterest] implement oauth:pinterest (#83)
Pinterest access tokens are rate limited at 200 requests per hour (or maybe per 2 or 3 hours?) so having just one access token for all users isn't going to work in the long run.
This commit is contained in:
@@ -134,6 +134,9 @@ class PinterestPinitExtractor(PinterestExtractor):
|
||||
|
||||
class PinterestAPI():
|
||||
"""Minimal interface for the pinterest API"""
|
||||
CLIENT_ID = "4959725425749142746"
|
||||
CLIENT_SECRET = ("2ea77dc64ca02974a728e46c5a9d2adf"
|
||||
"cdd42f4d4ffb40ad064072165ad4b10d")
|
||||
|
||||
def __init__(self, extractor, access_token="AfyIXxi1MJ6et0NlIl_vBchHbex-"
|
||||
"FSWylPyr2GJE2uu3W8A97QAAAAA"):
|
||||
|
||||
Reference in New Issue
Block a user