hardseed 安装

2018-01-17  本文已影响0人  Frankeen
下载源码
git clone https://github.com/yangyangwithgnu/hardseed.git
源码安装

1)唯一依赖 libcurl,请自行安装;

apt-get install libcurl3

#在Ubuntu下是需要安装 libcurl4-openssl-dev

apt-get install libcurl4-openssl-dev 

2)代码采用 C++11 编写,gcc 版本不低于 4.7.1。

3)命令行下运行:

如果没有安装cmake,先安装cmake

apt-get install cmake
$ cd hardseed/build/
$ cmake .
$ make && make install

问题解决
  1. undefined reference to `libiconv
TARGET_LINK_LIBRARIES(hardseed curl pthread)
替换成
TARGET_LINK_LIBRARIES(hardseed curl pthread iconv)
种子下载
$ hardseed

执行完成后,你会看到 /[aicheng_asia_mosaicked][1128]@014822/,你要的都在那儿。或者,玩点高级的

$ hardseed --saveas-path ~/downloads --topics-range 256 --av-class aicheng_west

其中,--saveas-path 指定存放路径为 ~/downloads/;--topics-range 指定解析的帖子范围从第 1 张帖子到第 256 张帖子;--av-class 指定女神类型为欧美

上一篇下一篇

猜你喜欢

热点阅读