Skip to content

defder-su/SaveHabr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaveHabr

The collection of scripts for saving entries from https://habr.com.

Features:

  • Save info by username.
  • Save post (with comments) into the MiceWeb Library.
  • Save by lists.

Installation (Linux, macOS):

Install wget.

Install Wayback Machine Downloader and MiceWeb.


Installation (Windows):

Install WSL (requires about 2GB disk space), Cygwin, Git Bash, or some other tool that enables Bash functionality in Windows.

Follow the above section.


Usage:

Open a terminal in the folder and run ./save_user or ./save_post with arguments.

Save user info:

./save_user example_nickname

Save post:

./save_post 1

./save_post https://habr.com/post/1

Save all entries from users.txt or posts.txt:

./save_users

./save_posts


Notes:

Each entry may contain hundreds files, that's why the scripts zip downloaded entries.

Mount zips: use Zipster on macOS, avfs on Linux, some tool like WinMount on Windows. So, you don't have to unpack zip-files to work.


Related Projects:

About

The collection of scripts for saving entries from https://habr.com.

Topics

Resources

License

Stars

Watchers

Forks