mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 19:11:50 +02:00
Default keep_summary_html:true to now, Changes to the AO3, ficbook.net, ficwad.com adapters for summary HTML. Add options to strip and add chapter numbers to chapter titles.
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# -*- coding: utf-8 -*-
|
|
|
|
# Copyright 2011 Fanficdownloader team
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
# Other code contributed by Pau Sanchez(bbcodeutils).
|
|
|
|
To use, do:
|
|
|
|
python downloader.py [-f (epub|html|txt)] <url>
|
|
|
|
Default format is epub.
|
|
|
|
Eg:
|
|
|
|
python downloader.py http://www.fanfiction.net/s/5192986/1/A_Fox_in_Tokyo
|
|
|
|
Do 'python downloader.py -h' for more options.
|
|
|
|
This tool uses Python 2.7, but should work with newer versions of Python.
|
|
|
|
For more information, see:
|
|
|
|
http://code.google.com/p/fanficdownloader/wiki/FanFictionDownloaderSupportedsites
|
|
|
|
http://code.google.com/p/fanficdownloader/wiki/FanFictionDownloaderFAQs
|