View Single Post
Old 03-08-2009, 12:39 PM   #3
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Try this recipe. It is able to scrap any wiki page. You just need to setup manually list of articles for different topics. Like this:

Code:
    ...
    INDEX = 'http://en.wikipedia.org/'
    ...

    def parse_index(self):
        articles = []
        articles.append({
                         'title':'Tree',
                         'date':'',
                         'url':self.INDEX + 'wiki/Tree',
                         'description':'Tree'
                        })
        articles.append({
                         'title':'Tiger',
                         'date':'',
                         'url':self.INDEX + 'wiki/Tiger',
                         'description':'Tiger'
                        })
         
        return [('Articles', articles)]
than just run the recipe and you will get the ebook without images.

This leaves space for improvement but it is something to start working on.
Attached Files
File Type: zip wikipedia_en.zip (1.0 KB, 278 views)
kiklop74 is offline   Reply With Quote