Skip to content

zeionara/much

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

much

A simple utility for crawling text from 2ch

Usage

The command pull requires two attributes - url of the web page to fetch and path to output file with json or txt extension depending on required output file format. For example:

python -m much pull https://2ch.hk/b/arch/2018-08-22/res/181770037.html assets/stories.txt

To fetch archived threads on 17th page:

python -m much fetch 17

To list top 10 fetched threads by size (cumulative number of characters in messages longer than 100 symbols):

python -m much top 10

To star a thread (copy it to folder assets/starred with a given name):

python -m much star 263473351 discussion

Installation

To install through pip:

pip install much

To install dependencies and create conda environment:

conda env create -f environment.yml

About

A small utility for crawling text from 2ch

Resources

License

Stars

Watchers

Forks

Packages

No packages published