Metadata-Version: 1.1
Name: BA-4chan-thread-archiver
Version: 0.6.4
Summary: 4chan API-based complete thread archiver
Home-page: https://github.com/bibanon/4chandownloader
Author: Lawrence Wu
Author-email: sagnessagiel@gmail.com
License: 4chandownloader
Copyright (C) 2012 Geoffrey Lehée [http://geoffrey.lehee.name/]

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
Description: BA 4chan API Thread Archiver
        ===============
        
        `Github <https://github.com/bibanon/BA-4chan-thread-archiver>`_
        
        This script uses the `4chan API <https://github.com/4chan/4chan-API>`_ to:
        
        * Download all images and/or thumbnails in a certain thread.
        * Download a JSON dump of thread comments using the 4chan API.
        * Download the HTML page
        * Convert links in HTML to use the downloaded images
        * Download CSS and convert HTML to use them
        * Keep downloading until 404 (with a user-set delay)
        * Can be restarted at any time
        
        This script is designed to replace "Right-click Save As, Web Page Complete" when saving 4chan threads, since it does not save full-sized images or JSON. 
        
        It can also be used as a far lighter, static HTML alternative to Fuuka.
        
        Part of the JSON-based-chanarchiver by Lawrence Wu, built 2013/04/04.
        
        Usage
        ============
        
        ::
        
            Usage:
              4chan-thread-archiver <url> [--path=<string>] [--delay=<int>] [--nothumbs] [--thumbsonly]
              4chan-thread-archiver -h | --help
              4chan-thread-archiver -v | --version
        
            Options:
              --nothumbs          Don't download thumbnails
              --thumbsonly        Download thumbnails, no images
              --delay=<int>       Delay between thread checks [default: 20]
              -h --help           Show help
              -v --version        Show version
        
        By default, the script saves to the folder ``4chan`` in the current working directory.
        
        Example
        =======
        
        ::
        
            4chan-thread-archiver http://boards.4chan.org/b/res/423861837 --path=4chan-threads --delay 5 --thumbsonly
        
        Installation
        ============
        
        Windows
        -------
        
        > **Note:** This script is now fixed for Windows and Python 3.x. PyQt GUI coming soon.
        
        1. Install [ActivePython](http://www.activestate.com/activepython/downloads),  Either version 2.x and 3.x will work.
        2. After installation, go to the Start Menu and under the **ActiveState ActivePython** programs folder, click **Python Package Manager (PyPM)**.
        3. A command prompt will appear. Type in the command below and press enter:
        
        ::
        
            pip install BA-4chan-thread-archiver
            
        4. Open up a command prompt and navigate to the folder where the python scripts are stored. (In this example we assume it is **Python33**. Check the root of your C drive if it isn't)
        
        ::
        
            cd C:\Python33\Scripts
        
        5. Now we can use the script. Replace the URL in the example below with the one you want to save, and replace the path (keep the quotations) with the folder you want to save to.
        	
        ::
        
        	python 4chan-thread-archiver http://boards.4chan.org/b/res/423861837 --path="C:\Users\Danny\4chan-threads"
        	
        Linux/Mac
        ---------
        
        1. Install Python on your computer. On Linux, Python is almost always preinstalled.
        2. We also need to install the Pip package manager, to download all the dependencies.
        
        ::
        
            easy_install pip
            pip install BA-4chan-thread-archiver
        
        3. Navigate your terminal to the folder you wish to save the threads into, and run the command below to download an entire thread. (you may also manually specify a path, using the **--path=** argument)
        
        ::
        
            4chan-thread-archiver http://boards.4chan.org/b/res/423861837
        
        Modifications to original
        ============
        
        Originally forked from Socketub's `4chan-thread-archiver. <https://github.com/socketubs/4chan-thread-archiver>`_ 
        
        However, all the original has long since been replaced, and the scripts are totally different. Here is a list of additions:
        
        * Based on `py4chan <https://github.com/e000/py-4chan>`_
        * Downloads HTML dump of thread
        * New --thumbsonly option to download thumbnails and no images
        * Code modularization
        * More comments in code
        * Support for new 4cdn.org server
        
        More info and a full journal can be found in ``log.md``.
        
        Wishlist
        =========
        
        * Prompt user for metadata information.
        * Define the ``.chan.zip`` format for 4chan thread archive transfer
        * Create a PyQt GUI
        
Keywords: 4chan downloader images json dump
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
