Debian Codegraph @

recipes/my_dealz_de.recipe

raw
1 #!/usr/bin/env python
2 from __future__ import absolute_import, division, print_function, unicode_literals
3
4 from calibre.web.feeds.news import BasicNewsRecipe
5
6
7 class MyDealzDE(BasicNewsRecipe):
8 # Title of the Recipe
9 title = 'MyDealz'
10 # Author
11 __author__ = 'Volker Heggemann, VoHe'
12 # oldest article to download (in days) ---- can be edit by user
13 oldest_article = 5
14 # describes itself, ---- can be edit by user
15 max_articles_per_feed = 100
16 # Cover Picture
17 cover_url = 'https://pbs.twimg.com/profile_images/817053687545741313/0wFqvfqC_400x400.jpg'
18 # speed up the download on fast computers be careful (I test max.20)
19 # ---- can be edit by user
20 simultaneous_downloads = 10
21 # description, some Reader show this in titlepage
22 description = 'MyDealz - Shopping Deals for Germany'
23 # Who published the content?
24 publisher = 'https://www.mydealz.de'
25 # What is the content of?
26 category = 'Shopping'
27 # describes itself, ---- can be edit by user
28 use_embedded_content = False
29 # describes itself, ---- can be edit by user
30 language = 'de'
31 # encoding of content. e.g. utf-8, None, ...
32 # ---- can be edit by user
33 encoding = 'utf-8'
34 # Removes javascript- why keep this, we only want static content
35 remove_javascript = True
36 # Removes empty feeds - why keep them!?
37 remove_empty_feeds = True
38
39 # remove the rubbish (in ebook)
40 auto_cleanup = True
41 # now the content description and URL follows
42 # feel free to add, wipe out what you need ---- can be edit by user
43 #
44 # some of this are double
45 #
46 #
47 # Make some tests, may you first comment all of them out, and step by step you add what you'll need?
48 #
49
50 feeds = [
51 ('MyDealz', 'https://www.mydealz.de/rss/alle'),
52 ]