Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2012, 07:34 PM   #1
Odyseus
Junior Member
Odyseus began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2011
Device: Kobo
ESPN recipe broken due to new print urls

The ESPN recipe isn't working. They've changed their print urls to use the same format as soccernet:
Quote:
espn.go.com/espn/print?id=%s&type=story
If you want the images stripped out add: "&imagesPrint=off" to that.
I changed the recipe and got it to work but I'm sure someone can do it more elegantly than I did.

Why does this recipe require a login? Most of ESPN's content doesn't need a subscription and I think everything in these RSS feed is available without login. I changed the needs_subscription value to False and removed the "def get_browser(self):" and it works.
Odyseus is offline   Reply With Quote
Old 01-18-2012, 12:23 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Why dont you post your updated recipe?
kovidgoyal is offline   Reply With Quote
Advert
Reply

Tags
espn, recipe


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FAZ.NET recipe fails due to website redesign juco Recipes 7 10-07-2011 11:53 AM
ESPN Recipe is no longer carrying Soccernet rylsfan Recipes 2 02-24-2011 10:33 AM
xkcd recipe broken elementz Recipes 3 12-16-2010 06:27 PM
Financial Times / FT - help creating a UK print edition recipe ndeb123 Recipes 1 09-29-2010 10:55 AM
recipe to pull web page similar to 'print/save as pdf' JPD Recipes 15 09-29-2010 09:20 AM


All times are GMT -4. The time now is 11:08 PM.


MobileRead.com is a privately owned, operated and funded community.