Update Pocket to use https as http no longer works

This commit is contained in:
Kovid Goyal 2015-08-22 18:04:17 +05:30
parent 55b34a6165
commit 26deb88793

View File

@ -30,7 +30,7 @@ class Pocket(BasicNewsRecipe):
publisher = 'getpocket.com' publisher = 'getpocket.com'
category = 'news, custom' category = 'news, custom'
#Settings people change # Settings people change
max_articles_per_feed = 50 max_articles_per_feed = 50
minimum_articles = 10 minimum_articles = 10
mark_as_read_after_dl = True # Set this to False for testing mark_as_read_after_dl = True # Set this to False for testing
@ -38,13 +38,13 @@ class Pocket(BasicNewsRecipe):
# To filter by tag this needs to be a single tag in quotes; IE 'calibre' # To filter by tag this needs to be a single tag in quotes; IE 'calibre'
only_pull_tag = None only_pull_tag = None
#You don't want to change anything under # You don't want to change anything under
no_stylesheets = True no_stylesheets = True
use_embedded_content = False use_embedded_content = False
needs_subscription = True needs_subscription = True
articles_are_obfuscated = True articles_are_obfuscated = True
apikey = '19eg0e47pbT32z4793Tf021k99Afl889' apikey = '19eg0e47pbT32z4793Tf021k99Afl889'
index_url = u'http://getpocket.com' index_url = u'https://getpocket.com'
read_api_url = index_url + u'/v3/get' read_api_url = index_url + u'/v3/get'
modify_api_url = index_url + u'/v3/send' modify_api_url = index_url + u'/v3/send'
legacy_login_url = index_url + u'/l' # We use this to cheat oAuth legacy_login_url = index_url + u'/l' # We use this to cheat oAuth