xmly crawler in pure Rust
The goal of this project is learning conrod.
- Complie from source (recommend)
git clone https://github.com/AurevoirXavier/xmly-exporter.git
cargo build --release
(rust version 1.33.0 nightly)
- Download release
- OS X Mojave (10.14.2 18C54)
- Windows
- Linux: Not yet
cargo run --release
orxml-exporter
orxmly-exporter.exe
- Copy the url (https://www.ximalaya.com/toutiao/4308484/, https://www.ximalaya.com/toutiao/4308484/147135825). Album and Track are supported
- Fetch: Just click and it will read the url from your clipboard to start fetching
- Export All: Export all tracks’ detail to a *.ax file which for aria2’s -i flag. Cause some problem with Async, download are not supported now.
- List select: Click to get the track’s detail as below
- Button: Color change when click
- Click to copy download link: Just as it told (also copy the track’s title)
- Track id, Album, Album id: Click to copy
- Text: Category,Nickname, Duration, Plays, Comments, Shares, Likes
One of these fonts(path) is needed.
if cfg!(target_os = "windows") {
ui.fonts.insert_from_file(Path::new("C:/Windows/Fonts/SIMFANG.ttf")).unwrap();
} else {
ui.fonts.insert_from_file(Path::new("/Library/Fonts/Arial Unicode.ttf")).unwrap();
}