From c1feab5da1dede96dcb61aff9842a3c040003a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Tue, 22 Oct 2019 20:50:07 +0200 Subject: [PATCH 1/2] removed for no new content since December --- recipes/equipped.recipe | 28 ---------------------------- recipes/icons/equipped.png | Bin 459 -> 0 bytes 2 files changed, 28 deletions(-) delete mode 100644 recipes/equipped.recipe delete mode 100644 recipes/icons/equipped.png diff --git a/recipes/equipped.recipe b/recipes/equipped.recipe deleted file mode 100644 index 80283ea2f5..0000000000 --- a/recipes/equipped.recipe +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env python2 - -__license__ = 'GPL v3' -__author__ = 'teepel , Artur Stachecki ' - -''' -equipped.pl -''' - -from calibre.web.feeds.news import BasicNewsRecipe - - -class equipped(BasicNewsRecipe): - title = u'Equipped' - __author__ = 'teepel ' - language = 'pl' - description = u'Wiadomości z equipped.pl' - INDEX = 'http://equipped.pl' - extra_css = '.alignleft {float:left; margin-right:5px;}' - oldest_article = 7 - max_articles_per_feed = 100 - remove_empty_feeds = True - simultaneous_downloads = 5 - remove_javascript = True - no_stylesheets = True - use_embedded_content = False - - feeds = [(u'Equipped', u'http://feeds.feedburner.com/Equippedpl?format=xml')] diff --git a/recipes/icons/equipped.png b/recipes/icons/equipped.png deleted file mode 100644 index 2ea1e5512ce3fe658fd471d8c83b797826777697..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 459 zcmV;+0W|)JP)TLm*bV|aAZQyFv~BCwEnBu6J$m%ryLXIfDXB}AEP+~w3K$s~ zfg}?%vz)w~ySsa6XsD5q5kquT6j0dS)-EwVAwD)PJ`Rc!;uAdF-K{JwJ32b9UcLJ3 z*Dt7(Vxpp%nV6O@UykYAXV0G9yLS&Q446Q6gM4!1*wLeh4;?xT13(wATD2-YExo3? z8t8||k01a1`4gxXWCPGi9Bk~|oLpR-T-XDR`3=R%9G&17k Date: Tue, 22 Oct 2019 21:11:42 +0200 Subject: [PATCH 2/2] update gameplay.pl --- recipes/gameplay_pl.recipe | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/recipes/gameplay_pl.recipe b/recipes/gameplay_pl.recipe index 351cce20e8..f45ca99840 100644 --- a/recipes/gameplay_pl.recipe +++ b/recipes/gameplay_pl.recipe @@ -8,21 +8,21 @@ class Gameplay_pl(BasicNewsRecipe): description = u'gameplay.pl - serwis o naszych zainteresowaniach, grach, filmach, książkach, muzyce, fotografii i konsolach.' category = 'games, movies, books, music' language = 'pl' - index = 'http://gameplay.pl' - masthead_url = 'http://gameplay.pl/img/gpy_top_logo.png' - cover_url = 'http://gameplay.pl/img/gpy_top_logo.png' + index = 'https://gameplay.pl' + masthead_url = 'https://gameplay.pl/img/gpy_top_logo.png' + cover_url = 'https://gameplay.pl/img/gpy_top_logo.png' max_articles_per_feed = 100 remove_javascript = True no_stylesheets = True keep_only_tags = [dict( - name='div', attrs={'class': ['news_endpage_tit', 'news', 'news_container']})] - remove_tags = [dict(name='div', attrs={'class': ['galeria', 'noedit center im', 'news_list', 'news_list_autor', 'stop_bot', 'tagi', 'news_tagi']}), dict( + name='div', attrs={'class':'news-container'})] + remove_tags = [dict(name='div', attrs={'class': ['galeria', 'noedit center im', 'news_list', 'news_list_autor', 'stop_bot', 'tagi', 'news_tagi', 'social-16']}), dict( attrs={'usemap': '#map'}), dict(name='a', attrs={'class': ['pin-it-button', 'twitter-share-button']})] - feeds = [(u'Wiadomo\u015bci', u'http://gameplay.pl/rss/')] + feeds = [(u'Wiadomo\u015bci', u'https://gameplay.pl/rss/')] def image_url_processor(self, baseurl, url): - if 'http' not in url: - return 'http://gameplay.pl' + url[2:] + if 'https' not in url: + return 'https://gameplay.pl' + url[2:] else: return url