bibanon / BASC-Archiver

Python-based Imageboard (4chan) complete thread archiver.
https://pypi.python.org/pypi/BASC-Archiver/
135 stars 18 forks source link

Android CLI app with QPython #10

Open antonizoon opened 9 years ago

antonizoon commented 9 years ago

Amazingly, using the QPython app, you can get a full Python interpreter for Android. This means that the BASC-Archiver can be run as a command line app without modifications on Android phones.

It works perfectly for the most part. Here's how you do it:

Android (CLI)

Note: This is a temporary solution until we put together some kind of Android GUI app.

Thanks to the QPython interpreter, you can effortlessly run the BASC-Archiver on your Android phone.

  1. Install the QPython app.
  2. Open the QPython app, and swipe left to reach the menu.
  3. Tap Package Index. Then scroll down and tap Pip Console.
  4. Run the following commands (after starting the pip_install.py script):
pip install requests
pip install basc-archiver

Now you can just open QPython, tap My QPython, tap pip_console, and run the following command with your own thread URL:

thread-archiver --path=/sdcard/ http://boards.4chan.org/qa/thread/23839

To run the script in the background, press the back button, and tap OK at the Run in Background prompt. You can stop the script anytime using Vol Down + C.