Skip to content

Scrape comics strips from feed, embed the strip images and create a new feed

License

Notifications You must be signed in to change notification settings

eguendelman/node-comics-feed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-comics-feed

RSS feeds of comics sites usually contains the links to a webpage but not the strip images.
This module iterates on the items on a feed and parse the webpages to create a new feed with embedded comic strips.

Supported websites:

  • GoComics
  • Dilbert.com

The list of parsers is meant to be extensible, see lib/parser.js.
PRs are welcome.

Inspired by gocomics-scrape and implemented it using Node.

Usage

npm install comics-feed
comics-feed [.rss|url]

Turns this

Before

into this

After

(rendered by Firefox)

Tested on

http://feed.dilbert.com/dilbert/daily_strip
http://feeds.feedburner.com/uclick/dilbert-classics

TODO

  • error handling
    • invalid URL
    • malformed feed
    • scraping error
  • adds pubDate for items
  • re-entrance
  • module globals cleanup

SAAS on Heroku

heroku-comics-feed uses this module to provide a subscribable RSS service.

About

Scrape comics strips from feed, embed the strip images and create a new feed

Resources

License

Stars

Watchers

Forks

Packages

No packages published