mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Making code more PEP8 friendly
This commit is contained in:
parent
6185fa1552
commit
211ff892b2
@ -19,6 +19,7 @@ import json
|
|||||||
import urllib
|
import urllib
|
||||||
import urllib2
|
import urllib2
|
||||||
|
|
||||||
|
|
||||||
class Readitlater(BasicNewsRecipe):
|
class Readitlater(BasicNewsRecipe):
|
||||||
title = 'Read It Later'
|
title = 'Read It Later'
|
||||||
__author__ = 'Darko Miletic, Przemyslaw Kryger, Keith Callenberg, tBunnyMan, Alayn Gortazar'
|
__author__ = 'Darko Miletic, Przemyslaw Kryger, Keith Callenberg, tBunnyMan, Alayn Gortazar'
|
||||||
@ -65,6 +66,7 @@ class Readitlater(BasicNewsRecipe):
|
|||||||
return auth_params
|
return auth_params
|
||||||
|
|
||||||
def parse_index(self):
|
def parse_index(self):
|
||||||
|
# WARNING: Pre-alpha API, I just figured out this calls params. Surprisingly worked! :)
|
||||||
index = self.API_INDEX + 'v3/get?' + self.get_auth_params()
|
index = self.API_INDEX + 'v3/get?' + self.get_auth_params()
|
||||||
index += '&state=queue'
|
index += '&state=queue'
|
||||||
index += '&count=' + str(self.max_articles_per_feed)
|
index += '&count=' + str(self.max_articles_per_feed)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user