From 7280f7d1f5297767080efad8789e57b323d809df Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Tue, 15 Sep 2015 10:40:58 +0200 Subject: [PATCH 1/4] Remove class "evernote_confirm" to get rid of text "Successfully posted to Evernote" in downloaded article. --- recipes/instapaper.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/instapaper.recipe b/recipes/instapaper.recipe index b6e9a57bd6..b75d5f0ad7 100644 --- a/recipes/instapaper.recipe +++ b/recipes/instapaper.recipe @@ -26,6 +26,7 @@ class AdvancedUserRecipe1299694372(BasicNewsRecipe): dict(name='div', attrs={'class':'modal_name'}), dict(name='div', attrs={'class':'highlight_popover'}), dict(name='div', attrs={'class':'bar bottom'}), + dict(name='div', attrs={'class':'evernote_confirm'}), dict(name='div', attrs={'id':'controlbar_container'}), dict(name='div', attrs={'id':'footer'}), dict(name='label') From 24def3f024fbc2946e8a8ebf7f5566d99c1f9e09 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Tue, 15 Sep 2015 10:46:14 +0200 Subject: [PATCH 2/4] =?UTF-8?q?Set=20all=20URIs=20to=20Instapaper=20HTTP?= =?UTF-8?q?=20=E2=86=92=20HTTPS.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- recipes/instapaper.recipe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/instapaper.recipe b/recipes/instapaper.recipe index b75d5f0ad7..3b9dc0c24c 100644 --- a/recipes/instapaper.recipe +++ b/recipes/instapaper.recipe @@ -33,12 +33,12 @@ class AdvancedUserRecipe1299694372(BasicNewsRecipe): ] use_embedded_content = False needs_subscription = True - INDEX = u'http://www.instapaper.com' + INDEX = u'https://www.instapaper.com' LOGIN = INDEX + u'/user/login' feeds = [ (u'Instapaper Unread', u'https://www.instapaper.com/u'), - (u'Instapaper Starred', u'http://www.instapaper.com/starred') + (u'Instapaper Starred', u'https://www.instapaper.com/starred') ] def get_browser(self): @@ -69,4 +69,4 @@ class AdvancedUserRecipe1299694372(BasicNewsRecipe): return totalfeeds def print_version(self, url): - return 'http://www.instapaper.com' + url + return 'https://www.instapaper.com' + url From ca6b40ed816ce51711dc33beb3752d10a45957ab Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Tue, 15 Sep 2015 11:00:02 +0200 Subject: [PATCH 3/4] The order from Instapaper.com looks more natural. --- recipes/instapaper.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/instapaper.recipe b/recipes/instapaper.recipe index 3b9dc0c24c..4ab2e5d955 100644 --- a/recipes/instapaper.recipe +++ b/recipes/instapaper.recipe @@ -12,7 +12,7 @@ class AdvancedUserRecipe1299694372(BasicNewsRecipe): category = 'info, custom, Instapaper' oldest_article = 365 max_articles_per_feed = 100 - reverse_article_order = True +# reverse_article_order = True no_stylesheets = False extra_css = 'q { font-style: italic; } .size3mode { color: black; }' remove_javascript = True From f8d9553eb59165a8cf17f894a0e1276fb313e547 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Tue, 15 Sep 2015 11:01:26 +0200 Subject: [PATCH 4/4] Removing Starred feed as it always downloads all the articles I choose to share with others. --- recipes/instapaper.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/instapaper.recipe b/recipes/instapaper.recipe index 4ab2e5d955..df4ba9e49d 100644 --- a/recipes/instapaper.recipe +++ b/recipes/instapaper.recipe @@ -37,8 +37,8 @@ class AdvancedUserRecipe1299694372(BasicNewsRecipe): LOGIN = INDEX + u'/user/login' feeds = [ - (u'Instapaper Unread', u'https://www.instapaper.com/u'), - (u'Instapaper Starred', u'https://www.instapaper.com/starred') + (u'Instapaper Unread', u'https://www.instapaper.com/u') +# (u'Instapaper Starred', u'https://www.instapaper.com/starred') ] def get_browser(self):