<commit_before>

[中文介绍](README.md)


####Table of contents
(toc is generated by [ghtoc](https://github.com/sk1418/ghtoc))
- [Introduction](#introduction)
- [Dependencies](#dependencies)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
	- [download xiami resource outside China](#proxy-setting)
- [Screenshots](#screenshots)
- [Change logs](#changelog)


## Introduction

zhuaxia(抓虾) (MIT Licensed) is a little tool to batch download music resources in multiple threads from www.xiami.com (in short `[xia]`) and music.163.com (in short `[163]`). 


**zhuaxia** was written and tested with:
- python 2.7.6


##Dependencies

- requests module
- mutagen module
- beautifulsoup4 module

##Features

- automatically recognize and parse URLs, so far it supports:
	- [xia] Song, Album, Collections, User Favorites, Artist TopN
	- [163] Song, Album, Playlist, Artist TopN
- artist Top N(configurable) Songs.([xia]max:20), default Top10. Configuration property: `download.artist.topsong` artist page url is needed
- download mixed urls in file. URLs can be mixed by [xia] and [163], also they can be different resource types (`-f` option)
- when download from file, multi-threading parsing the urls with a configurable thread pool
- multi-threading download with configurable thread pool.
- download HQ (320kbps) resources  (`-H` option)
- user friendly downloading progress display (colorful highlighting, adapt terminal width automatically, total progress, downloading thread progress...)
- mp3 renaming, mp3 meta data updating, auto-download album cover image. Album description(only[xia])...
- [xia]configuration property `xiami.proxy.http=ip:port` for xiami resource downloading via China proxy. Details："Usage -> [download xiami resource outside China](#proxy-setting)"
- `-p` option (experimental function)，using a proxypool to solve the problem of "ip was banned if requests to a server were too often.


##Installation

Archlinux user, zhuaxia can be found in AUR<commit_msg>update readme_en<commit_after>

[中文介绍](README.md)


####Table of contents
(toc is generated by [ghtoc](https://github.com/sk1418/ghtoc))
- [Introduction](#introduction)
- [Dependencies](#dependencies)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
	- [download xiami resource outside China](#proxy-setting)
- [Screenshots](#screenshots)
- [Change logs](#changelog)


## Introduction

zhuaxia(抓虾) (MIT Licensed) is a little tool to batch download music resources in multiple threads from www.xiami.com (in short `[xia]`) and music.163.com (in short `[163]`). 


**zhuaxia** was written and tested with:
- python 2.7.6


##Dependencies

- requests module
- mutagen module
- beautifulsoup4 module

##Features

- automatically recognize and parse URLs, so far it supports:
	- [xia] Song, Album, Collections, User Favorites, Artist TopN
	- [163] Song, Album, Playlist, Artist TopN
- artist Top N(configurable) Songs.([xia]max:20), default Top10. Configuration property: `download.artist.topsong` artist page url is needed
- download mixed urls in file. URLs can be mixed by [xia] and [163], also they can be different resource types (`-f` option)
- when download from file, multi-threading parsing the urls with a configurable thread pool
- multi-threading download with configurable thread pool.
- download HQ (320kbps) resources  (`-H` option)
- user friendly downloading progress display (colorful highlighting, adapt terminal width automatically, total progress, downloading thread progress...)
- mp3 renaming, mp3 meta data updating, auto-download album cover image. Album description(only[xia])...
- [xia]configuration property `xiami.proxy.http=ip:port` for xiami resource downloading via China proxy. Details："Usage -> [download xiami resource outside China](#proxy-setting)"
- `-p` option (experimental function)，using a proxypool to solve the problem of "ip was banned if requests to a server were too often.
- Chinese (default) or English CLI, add `lang=en` in config file to change CLI into English. 


##Installation

Archlinux user, zhuaxia can be found in AUR
{'fraction_non_alphanumeric': 0.11086691086691086, 'fraction_numerical': 0.014163614163614164, 'mean_word_length': 4.962154294032024, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 28, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3542573', 'n_tokens_mistral': 1269, 'n_tokens_neox': 1161, 'n_words': 463}