|
|
#1 |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Apr 2011
Device: none
|
recipe for Freundin (DE) (need help)
This recipe does't get multi-pages articles (only first page)
So please help and fix it, (J really need some real examples) Code:
class AdvancedUserRecipe1305567197(BasicNewsRecipe):
title = u'Freundin (DE)'
__author__ = 'xXxXxXxXxXx'
oldest_article = 7
max_articles_per_feed = 1000
no_stylesheets = True
use_embedded_content = False
remove_javascript = True
keep_only_tags = [
dict(name='div', attrs={'class':['box']}) ]
remove_tags = [dict(name='div', attrs={'class':'reviewFooter'}),
dict(name='div', attrs={'class':'reviewHead'}),
dict(name='div', attrs={'class':'boxFooter'}),
dict(name='div', attrs={'class':'relatedBox'}),
dict(name='div', attrs={'class':'pager'}),
dict(name='div', attrs={'class':'listItem'}),
dict(name='div', attrs={'class':'rapidev_form_structure rapidev_form_structure_ element notopborder noleftmargin'}),
dict(name='div', attrs={'id':'reviewForm'}),
dict(name='ul', attrs={'class':'artikelNav'}),
]
feeds = [ (u'home', u'http://www.freundin.de/feeds/module/rss/channel/home'),
(u'beauty', u'http://www.freundin.de/feeds/module/rss/channel/beauty'),
(u'liebe', u'http://www.freundin.de/feeds/module/rss/channel/liebe'),
(u'kochen & diät', u'http://www.freundin.de/feeds/module/rss/channel/kochen'),
(u'lifestyle', u'http://www.freundin.de/feeds/module/rss/channel/auto'),
(u'leichter leben', u'http://www.freundin.de/feeds/module/rss/channel/leichterleben'),
(u'mode', u'http://www.freundin.de/feeds/module/rss/channel/mode'),
(u'kultur & stars', u'http://www.freundin.de/feeds/module/rss/channel/kultur'),
(u'gesundheit', u'http://www.freundin.de/feeds/module/rss/channel/wellfit'),
(u'wohnen & kreativ', u'http://www.freundin.de/feeds/module/rss/channel/kreativ'),
(u'reise', u'http://www.freundin.de/feeds/module/rss/channel/reise'),
(u'horoskop', u'http://www.freundin.de/feeds/module/rss/channel/horoskop'),
]
Last edited by xXxXxXxXxXx; 05-21-2011 at 10:02 AM. Reason: recipe |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
There's no multipage code there, so it won't do multipage. Search for that word here. See the Adventuregamer recipe for sample code. There are lots of examples here, too, and many in the builtins.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Apr 2011
Device: none
|
OK, J check it out
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Recipe works when mocked up as Python file, fails when converted to Recipe | ode | Recipes | 7 | 09-04-2011 05:57 AM |
| New Recipe | UtahJames | Recipes | 3 | 04-18-2011 09:02 PM |
| New Recipe | UtahJames | Recipes | 2 | 04-18-2011 07:32 PM |
| Other Non-Fiction Humboldt, Wilhelm von: Briefe an eine Freundin, German, V1. 23-Apr-2010 | weatherwax | ePub Books | 0 | 04-23-2010 04:17 PM |
| Recipe Help Please | estral | Calibre | 1 | 06-11-2009 03:35 PM |