![]() |
#1 | |
Zealot
![]() ![]() Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
FLAG (Fanfiction.net Lightweight Automated Grabber)
2011-04-21: FLAG has been completely rewritten as a webservice, and is available here. The CLI version is not currently supported, but I may add support for this back at some point in the future.
Currently supported formats:
Currently supported source websites:
-----= Original Post =----- Quote:
Last edited by erayd; 09-13-2011 at 03:05 AM. Reason: Updated list of source websites. |
|
![]() |
![]() |
![]() |
#2 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Do you plan to support MobiPocket? It's by far the most popular eBook format!
Easy to do automated conversion of HTML to Mobi using Tommy's excellent "MobiPerl" package. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
I am more than happy to add support for mobipocket, however I will need a conversion script (I'll take a look at MobiPerl and see if it'll do the trick) and a Linux viewer to test the resulting output - do you know of any?
|
![]() |
![]() |
![]() |
#4 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
FBReader can be used to view Mobi files.
|
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Lovely - assuming these utilities can do what I need, expect to see mobi support within the next few days.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Sounds good! I suppose the obvious question is "any plans for a Windows version"?
![]() |
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
None whatsoever (I don't have a Windows box here), but I have no problem with somebody else porting it, and I would be happy to host the resulting files / accept patches etc. Porting shouldn't be hard - it's just php.
|
![]() |
![]() |
![]() |
#8 |
Zealot
![]() ![]() Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Another thought though - what would be the legal ramifications of me hosting this with a web frontend to save people the hassle of installing / using CLI utilities? My main server is currently located in Vancouver, Canada.
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 65091
Join Date: Jul 2008
Location: Sydney, Australia
Device: Kindle Paperwhite WiFi
|
I dunno, the legalities of it are quite a grey area. They may be reluctant about the whole thing as it may drawn unwanted attention from copyright holders. Authors and archives of fanfiction and transformative works live in constant fear that they're going to be the target of a lawsuit from the owner of whatever fandom they're working in. While all your script is doing is presenting the same information in a different form it's still the kind of stupid distinction that can lead to trouble. The argument the copyright holder might put is that this is more like a book, while the HTML on the website is more like a forum post, or some other such nonsense argument. It doesn't really have to make sense, it only has to result in a legal threat for it to be a major problem. Fanfic sites tend to jumpy about this sort of thing because they're in no position to put up a fight, so they'd rather not tempt fate, no matter how entrenched the concept of fanfic may have become. Having said that, they may not be bothered about it at all, so I think you should ask them and see what they have to say.
The major technical issue I can see them having is the potential for thousands of users to bombard your site to get eBooks and your grabber then making thousands of requests to their server to retrieve the text for them. They'd be worried about getting flooded. I'm pretty positive about this project in general though, I think this is a great idea. Even though I don't use Fanfiction.net much myself, I do love fanfic (no matter how much rough I have to wade through to get to the diamond). I actually had the thought the other day that it would be great if FeedBooks made their engine code available so that fanfic archive software like eFiction could incorporate it and provide users with a variety of eBook options to download their fic in. But if we can't have that, then grabbers are the next best thing. ![]() |
![]() |
![]() |
![]() |
#10 | |
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 | |||
Zealot
![]() ![]() Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Quote:
Quote:
Quote:
It may also be worth considering the scale of the service... fanfiction.net has a LOT of content! Last edited by erayd; 07-06-2008 at 10:24 PM. |
|||
![]() |
![]() |
![]() |
#12 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 65091
Join Date: Jul 2008
Location: Sydney, Australia
Device: Kindle Paperwhite WiFi
|
Quote:
On the other hand, did you actually mean to have Feedbooks store the content? Or is it a case of the user would click a link on Fanfiction.net and be taken to Feedbooks which would then process the piece into the format the user wanted and then hand the book to the user without Feedbooks actually storing the content? |
|
![]() |
![]() |
![]() |
#13 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: May 2005
Device: Palm Zire71
|
There are actually more dependencies:
php5-mysql: doesn't prevent the program from completing but does produce ugly error messages. php5-gd: same as above php5-tidy |
![]() |
![]() |
![]() |
#14 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: May 2005
Device: Palm Zire71
|
I tested the program and the idea is absolutely fantastic. I have tried converting fanfiction.net books myself by hand and this is much easier.
One problem that I noticed is a similar problem to what I have experienced when doing it by hand. For some reason fanfiction.net doesn't format some of their special characters correct. ', ", ` are some of the characters that do not display correctly. I have to find and replace these characters when I do it manually. Your script will probably want to fix these, because the resulting HTML file (haven't tried the other formats) doesn't display as intended. Last edited by mateo; 07-07-2008 at 01:18 AM. |
![]() |
![]() |
![]() |
#15 | ||
Zealot
![]() ![]() Posts: 134
Karma: 146
Join Date: Apr 2008
Device: Onyx Boox Poke 2
|
Quote:
php5-tidy isn't required for r15, but is required for the latest subversion build. Quote:
|
||
![]() |
![]() |
![]() |
Tags |
converter, fanfiction, fanfiction.net, grabber, lrf |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fanfiction.net on Kindle | forkyfork | Amazon Kindle | 26 | 08-07-2011 08:42 AM |
bookmarks/notes grabber | Reader2 | Android Developer's Corner | 0 | 10-02-2010 09:24 AM |
EASY fanfiction grabber? | sherryg | Workshop | 19 | 01-08-2010 03:13 AM |
FLAG (Fanfiction.net Lightweight Automated Grabber) and Calibre? | malkie13 | Calibre | 1 | 02-10-2009 05:43 PM |