yangyangwithgnu / hardseed Goto Github PK
View Code? Open in Web Editor NEWSEX IS ZERO (0), so, who wanna be the ONE (1), aha?
License: GNU General Public License v2.0
SEX IS ZERO (0), so, who wanna be the ONE (1), aha?
License: GNU General Public License v2.0
Parse the URLs of topics from 1 to 64: (There is no topic which you like)
如题, 因为没有上下文, 所以下下来的一些文件没有解压密码, 或者有通用的解压密码?
ERROR! fail to load http://raw.githubusercontent.com/yangyangwithgnu/hardseed/master/config/portals_list.json
命令行:
hardseed --saveas-path /data/seed --topics-range 8 64 --timeout-download-picture 32 --hate X-Art --proxy ""
之前好好的,最近开始发现没法获取内容了,好像地址更新了,我也对应修改了,但是好像还是没法使用。路由用了shadowsocks代理翻墙了,所以参数--proxy 直接配置了空。
草榴的挂了 无法获取到了
@yangyangwithgnu
不能上传*.bat的文件 所以重命名成txt的了 下载后放在/bin/windows目录下
使用方法:
set keywords=苍井空 关键词打在这里
set num=-1 搜索范围打这里
保存然后运行就好了
Download the pictures and seeds of topics:
*** longjmp causes uninitialized stack frame ***: ./hardseed terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0xb7555e1d]
/lib/libc.so.6(+0xfcd8a)[0xb7555d8a]
/lib/libc.so.6(__longjmp_chk+0x49)[0xb7555cf9]
/usr/lib/libcurl.so.4(+0xb0b9)[0xb774a0b9]
[0xb779b500]
[0xb779b420]
/lib/libpthread.so.0(pthread_join+0x10d)[0xb772b22d]
/usr/lib/libstdc++.so.6(_ZNSt6thread4joinEv+0x52)[0xb76e0792]
./hardseed(ZN7AichengC1ERKSsNS_7AvClassERKSt6vectorISsSaISsEEjjS7_S7_jjS1+0x9ed)[0x8064a3d]
./hardseed(main+0x1da9)[0x80578b9]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb746fd36]
./hardseed[0x8058fa1]
======= Memory map: ========
08048000-0808b000 r-xp 00000000 08:04 100441958 /root/hardseed/build/hardseed
0808b000-0808c000 rw-p 00043000 08:04 100441958 /root/hardseed/build/hardseed
09e6e000-09ec1000 rw-p 00000000 00:00 0 [heap]
b1a00000-b1a42000 rw-p 00000000 00:00 0
b1a42000-b1b00000 ---p 00000000 00:00 0
b1c00000-b1c40000 rw-p 00000000 00:00 0
b1c40000-b1d00000 ---p 00000000 00:00 0
b1d03000-b1d04000 ---p 00000000 00:00 0
b1d04000-b2704000 rw-p 00000000 00:00 0
b2704000-b2705000 ---p 00000000 00:00 0
b2705000-b3105000 rw-p 00000000 00:00 0
b3105000-b3106000 ---p 00000000 00:00 0
b3106000-b3b06000 rw-p 00000000 00:00 0
b3b06000-b3b07000 ---p 00000000 00:00 0
b3b07000-b4507000 rw-p 00000000 00:00 0
b4507000-b4508000 ---p 00000000 00:00 0
b4508000-b4f08000 rw-p 00000000 00:00 0
b4f08000-b4f09000 ---p 00000000 00:00 0
b4f09000-b5909000 rw-p 00000000 00:00 0
b5909000-b590a000 ---p 00000000 00:00 0
b590a000-b630a000 rw-p 00000000 00:00 0
b630a000-b630b000 ---p 00000000 00:00 0
b630b000-b6d0b000 rw-p 00000000 00:00 0
b6d0b000-b6d25000 r-xp 00000000 08:04 98990040 /usr/lib/gconv/GBK.so
b6d25000-b6d26000 r--p 00019000 08:04 98990040 /usr/lib/gconv/GBK.so
b6d26000-b6d27000 rw-p 0001a000 08:04 98990040 /usr/lib/gconv/GBK.so
b6d27000-b6d2e000 r--s 00000000 08:04 98981065 /usr/lib/gconv/gconv-modules.cache
b6d2e000-b6d33000 r-xp 00000000 08:04 99246727 /lib/libnss_dns-2.12.so
b6d33000-b6d34000 r--p 00004000 08:04 99246727 /lib/libnss_dns-2.12.so
b6d34000-b6d35000 rw-p 00005000 08:04 99246727 /lib/libnss_dns-2.12.so
b6d35000-b6d41000 r-xp 00000000 08:04 99246792 /lib/libnss_files-2.12.so
b6d41000-b6d42000 r--p 0000b000 08:04 99246792 /lib/libnss_files-2.12.so
b6d42000-b6d43000 rw-p 0000c000 08:04 99246792 /lib/libnss_files-2.12.so
b6d48000-b6d4c000 rw-p 00000000 00:00 0
b6d4c000-b6d4e000 r-xp 00000000 08:04 99246299 /lib/libfreebl3.so
b6d4e000-b6d4f000 r--p 00001000 08:04 99246299 /lib/libfreebl3.so
b6d4f000-b6d50000 rw-p 00002000 08:04 99246299 /lib/libfreebl3.so
b6d50000-b6d6d000 r-xp 00000000 08:04 99246459 /lib/libselinux.so.1
b6d6d000-b6d6e000 r--p 0001c000 08:04 99246459 /lib/libselinux.so.1
b6d6e000-b6d6f000 rw-p 0001d000 08:04 99246459 /lib/libselinux.so.1
b6d6f000-b6d70000 rw-p 00000000 00:00 0
b6d70000-b6d77000 r-xp 00000000 08:04 99246654 /lib/libcrypt-2.12.so
b6d77000-b6d78000 r--p 00007000 08:04 99246654 /lib/libcrypt-2.12.so
b6d78000-b6d79000 rw-p 00008000 08:04 99246654 /lib/libcrypt-2.12.so
b6d79000-b6da0000 rw-p 00000000 00:00 0
b6da0000-b6f4e000 r-xp 00000000 08:04 98990327 /usr/lib/libcrypto.so.1.0.1e
b6f4e000-b6f5e000 r--p 001ad000 08:04 98990327 /usr/lib/libcrypto.so.1.0.1e
b6f5e000-b6f65000 rw-p 001bd000 08:04 98990327 /usr/lib/libcrypto.so.1.0.1e
b6f65000-b6f68000 rw-p 00000000 00:00 0
b6f68000-b6fc9000 r-xp 00000000 08:04 98989574 /usr/lib/libssl.so.1.0.1e
b6fc9000-b6fca000 ---p 00061000 08:04 98989574 /usr/lib/libssl.so.1.0.1e
b6fca000-b6fcc000 r--p 00061000 08:04 98989574 /usr/lib/libssl.so.1.0.1e
b6fcc000-b6fd0000 rw-p 00063000 08:04 98989574 /usr/lib/libssl.so.1.0.1e
b6fd0000-b6fd2000 r-xp 00000000 08:04 99246671 /lib/libkeyutils.so.1.3
b6fd2000-b6fd3000 r--p 00001000 08:04 99246671 /lib/libkeyutils.so.1.3
b6fd3000-b6fd4000 rw-p 00002000 08:04 99246671 /lib/libkeyutils.so.1.3
b6fd4000-b6fd5000 rw-p 00000000 00:00 0
b6fd5000-b6fdf000 r-xp 00000000 08:04 99246636 /lib/libkrb5support.so.0.1
b6fdf000-b6fe0000 r--p 00009000 08:04 99246636 /lib/libkrb5support.so.0.1
b6fe0000-b6fe1000 rw-p 0000a000 08:04 99246636 /lib/libkrb5support.so.0.1
b6fe1000-b6ffa000 r-xp 00000000 08:04 98990274 /usr/lib/libsasl2.so.2.0.23
b6ffa000-b6ffb000 r--p 00018000 08:04 98990274 /usr/lib/libsasl2.so.2.0.23
b6ffb000-b6ffc000 rw-p 00019000 08:04 98990274 /usr/lib/libsasl2.so.2.0.23
b6ffc000-b7011000 r-xp 00000000 08:04 99246455 /lib/libresolv-2.12.so
b7011000-b7012000 ---p 00015000 08:04 99246455 /lib/libresolv-2.12.so
b7012000-b7013000 r--p 00015000 08:04 99246455 /lib/libresolv-2.12.so
b7013000-b7014000 rw-p 00016000 08:04 99246455 /lib/libresolv-2.12.so
b7014000-b7016000 rw-p 00000000 00:00 0
b7016000-b7023000 r-xp 00000000 08:04 99246610 /lib/liblber-2.4.so.2.10.3
b7023000-b7024000 r--p 0000d000 08:04 99246610 /lib/liblber-2.4.so.2.10.3
b7024000-b7025000 rw-p 0000e000 08:04 99246610 /lib/liblber-2.4.so.2.10.3
b7025000-b704c000 r-xp 00000000 08:04 98984422 /usr/lib/libssh2.so.1.0.1
b704c000-b704d000 rw-p 00026000 08:04 98984422 /usr/lib/libssh2.so.1.0.1
b704d000-b704e000 rw-p 00000000 00:00 0
b704e000-b7051000 r-xp 00000000 08:04 99246678 /lib/libdl-2.12.so
b7051000-b7052000 r--p 00002000 08:04 99246678 /lib/libdl-2.12.so
b7052000-b7053000 rw-p 00003000 08:04 99246678 /lib/libdl-2.12.so已放弃
Linking CXX executable hardseed
CMakeFiles/hardseed.dir/root/hardseed/src/lib/helper/Webpage.o: In function `Webpage::convertCharset(std::string const&, std::string const&)':
Webpage.cpp:(.text+0x240c): undefined reference to `libiconv_open'
Webpage.cpp:(.text+0x2481): undefined reference to `libiconv_close'
Webpage.cpp:(.text+0x267c): undefined reference to `libiconv'
collect2: error: ld returned 1 exit status
make[2]: *** [hardseed] Error 1
make[1]: *** [CMakeFiles/hardseed.dir/all] Error 2
make: *** [all] Error 2
已经安装最新 libiconv-1.14, Linux 6.4
cmake可以判断OS的类型,所以针对mac平台的改动,可以自动化。
另外,我的mac上,哪怕提供sudo权限,都没法把程序cp到/usr/bin/下,cp到/usr/local/bin下则没有问题
Parse the URLs of topics from 1 to 64:
There is no topic which you like.
hardseed 后要求 parse url, 停留几秒不输入会自动弹出 "There isno topic which you like".
请帮助解决,谢谢.
这个编了多久?
git diff信息
--- a/src/lib/self/CaoliuTopicWebpage.cpp
+++ b/src/lib/self/CaoliuTopicWebpage.cpp
@@ -78,7 +78,7 @@ parsePicturesUrls (const string& webpage_txt, vector<string>& pictures_urls_list
}
// the list may be on the webpage at the same time
- static const vector<pair<string, string>> begin_and_end_keywords_list = { make_pair("<img src='", "'"),
+ static const vector<pair<string, string>> begin_and_end_keywords_list = { make_pair("<input src='", "'"),
System: OS X El Capitan, 10.11.2
在执行 " make && sudo make install " 时发生如下错误:
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
Webpage::convertCharset(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in Webpage.o
"_iconv_close", referenced from:
Webpage::convertCharset(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in Webpage.o
"_iconv_open", referenced from:
Webpage::convertCharset(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in Webpage.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [hardseed] Error 1
make[1]: *** [CMakeFiles/hardseed.dir/all] Error 2
make: *** [all] Error 2
大家有遇到这个问题吗?
failure (download error from http://www.ac168.info/bt/htm_data/4/1602/805240.html. seed error: http://www.jandown.com/link.php?ref=Y0RwrtzI3H)
图片正常
可以显示success,但是本地没图
错误如下
Make Error at cmake_install.cmake:39 (file):
file INSTALL cannot copy file
"/Users/shenyineng/Documents/workspace/hardseed/build/hardseed" to
"/usr/bin/hardseed".
提供资源地址,能添加吗,或者能交下,怎么添加自己的资源地址吗?
Download the pictures and seeds of topics:
*** longjmp causes uninitialized stack frame ***: hardseed terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0xb74a7e1d]
/lib/libc.so.6(+0xfcd8a)[0xb74a7d8a]
/lib/libc.so.6(__longjmp_chk+0x49)[0xb74a7cf9]
/usr/lib/libcurl.so.4(+0xb0b9)[0xb769c0b9]
[0xb76ef500]
[0xb76ef420]
/lib/libpthread.so.0(pthread_join+0x10d)[0xb767d22d]
/usr/lib/libstdc++.so.6(_ZNSt6thread4joinEv+0x52)[0xb7632792]
hardseed(_ZN7AichengC1ERKSsNS_7AvClassERKSt6vectorISsSaISsEEjjS7_S7_jjS1_+0xfaa)[0x80632ca]
hardseed(main+0x1d2e)[0x8059b8e]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb73c1d36]
hardseed[0x80569b1]
======= Memory map: ========
08048000-08088000 r-xp 00000000 08:03 30570892 /usr/bin/hardseed
08088000-08089000 rw-p 00040000 08:03 30570892 /usr/bin/hardseed
08089000-0808a000 rw-p 00000000 00:00 0
0925c000-093b8000 rw-p 00000000 00:00 0 [heap]
b1700000-b1733000 rw-p 00000000 00:00 0
b1733000-b1800000 ---p 00000000 00:00 0
b1800000-b1841000 rw-p 00000000 00:00 0
b1841000-b1900000 ---p 00000000 00:00 0
b1900000-b193d000 rw-p 00000000 00:00 0
b193d000-b1a00000 ---p 00000000 00:00 0
b1ae4000-b1ae5000 ---p 00000000 00:00 0
b1ae5000-b24e5000 rw-p 00000000 00:00 0
b24e5000-b24e6000 ---p 00000000 00:00 0
b24e6000-b2ee6000 rw-p 00000000 00:00 0
b2ee6000-b2ee7000 ---p 00000000 00:00 0
b2ee7000-b38e7000 rw-p 00000000 00:00 0
b38e7000-b38e8000 ---p 00000000 00:00 0
b38e8000-b42e8000 rw-p 00000000 00:00 0
b42e8000-b42e9000 ---p 00000000 00:00 0
b42e9000-b4ce9000 rw-p 00000000 00:00 0
b4ce9000-b4cea000 ---p 00000000 00:00 0
b4cea000-b56ea000 rw-p 00000000 00:00 0
b56ea000-b56eb000 ---p 00000000 00:00 0
b56eb000-b60eb000 rw-p 00000000 00:00 0
b60eb000-b60ec000 ---p 00000000 00:00 0
b60ec000-b6aec000 rw-p 00000000 00:00 0
b6aec000-b6b06000 r-xp 00000000 08:03 30546167 /usr/lib/gconv/GBK.so
b6b06000-b6b07000 r--p 00019000 08:03 30546167 /usr/lib/gconv/GBK.so
b6b07000-b6b08000 rw-p 0001a000 08:03 30546167 /usr/lib/gconv/GBK.so
b6b08000-b6b2f000 r-xp 00000000 08:03 30543710 /usr/lib/libnssdbm3.so
b6b2f000-b6b30000 r--p 00026000 08:03 30543710 /usr/lib/libnssdbm3.so
b6b30000-b6b31000 rw-p 00027000 08:03 30543710 /usr/lib/libnssdbm3.so
b6b31000-b6b57000 r-xp 00000000 08:03 30570777 /usr/lib/libnsspem.so
b6b57000-b6b58000 r--p 00026000 08:03 30570777 /usr/lib/libnsspem.so
b6b58000-b6b59000 rw-p 00027000 08:03 30570777 /usr/lib/libnsspem.so
b6b59000-b6bb5000 r-xp 00000000 08:03 31207142 /lib/libfreeblpriv3.so
b6bb5000-b6bb6000 r--p 0005b000 08:03 31207142 /lib/libfreeblpriv3.so
b6bb6000-b6bb7000 rw-p 0005c000 08:03 31207142 /lib/libfreeblpriv3.so
b6bb7000-b6bbb000 rw-p 00000000 00:00 0
b6bbb000-b6c49000 r-xp 00000000 08:03 30543602 /usr/lib/libsqlite3.so.0.8.6
b6c49000-b6c4b000 rw-p 0008d000 08:03 30543602 /usr/lib/libsqlite3.so.0.8.6
b6c4b000-b6c89000 r-xp 00000000 08:03 30543528 /usr/lib/libsoftokn3.so
b6c89000-b6c8a000 r--p 0003e000 08:03 30543528 /usr/lib/libsoftokn3.so
b6c8a000-b6c8b000 rw-p 0003f000 08:03 30543528 /usr/lib/libsoftokn3.so
b6c8b000-b6c90000 r-xp 00000000 08:03 31214210 /lib/libnss_dns-2.12.so
b6c90000-b6c91000 r--p 00004000 08:03 31214210 /lib/libnss_dns-2.12.so
b6c91000-b6c92000 rw-p 00005000 08:03 31214210 /lib/libnss_dns-2.12.so
b6c92000-b6c9e000 r-xp 00000000 08:03 31214168 /lib/libnss_files-2.12.so
b6c9e000-b6c9f000 r--p 0000b000 08:03 31214168 /lib/libnss_files-2.12.so
b6c9f000-b6ca0000 rw-p 0000c000 08:03 31214168 /lib/libnss_files-2.12.so
b6ca0000-b6ca7000 r--s 00000000 08:03 30559095 /usr/lib/gconv/gconv-modules.cache
b6ca7000-b6cab000 rw-p 00000000 00:00 0
b6cab000-b6cad000 r-xp 00000000 08:03 31207140 /lib/libfreebl3.so
b6cad000-b6cae000 r--p 00001000 08:03 31207140 /lib/libfreebl3.so
b6cae000-b6caf000 rw-p 00002000 08:03 31207140 /lib/libfreebl3.so
b6caf000-b6ccc000 r-xp 00000000 08:03 31214041 /lib/libselinux.so.1
b6ccc000-b6ccd000 r--p 0001c000 08:03 31214041 /lib/libselinux.so.1
b6ccd000-b6cce000 rw-p 0001d000 08:03 31214041 /lib/libselinux.so.1
b6cce000-b6ccf000 rw-p 00000000 00:00 0
b6ccf000-b6cd6000 r-xp 00000000 08:03 31214201 /lib/libcrypt-2.12.so
b6cd6000-b6cd7000 r--p 00007000 08:03 31214201 /lib/libcrypt-2.12.so
b6cd7000-b6cd8000 rw-p 00008000 08:03 31214201 /lib/libcrypt-2.12.so
b6cd8000-b6cff000 rw-p 00000000 00:00 0
b6cff000-b6ead000 r-xp 00000000 08:03 30543745 /usr/lib/libcrypto.so.1.0.1e
b6ead000-b6ebd000 r--p 001ad000 08:03 30543745 /usr/lib/libcrypto.so.1.0.1e
b6ebd000-b6ec4000 rw-p 001bd000 08:03 30543745 /usr/lib/libcrypto.so.1.0.1e
b6ec4000-b6ec7000 rw-p 00000000 00:00 0
b6ec7000-b6f28000 r-xp 00000000 08:03 30543536 /usr/lib/libssl.so.1.0.1e
b6f28000-b6f29000 ---p 00061000 08:03 30543536 /usr/lib/libssl.so.1.0.1e
b6f29000-b6f2b000 r--p 00061000 08:03 30543536 /usr/lib/libssl.so.1.0.1e
b6f2b000-b6f2f000 rw-p 00063000 08:03 30543536 /usr/lib/libssl.so.1.0.1e
b6f2f000-b6f31000 r-xp 00000000 08:03 31214169 /lib/libkeyutils.so.1.3
b6f31000-b6f32000 r--p 00001000 08:03 31214169 /lib/libkeyutils.so.1.3
b6f32000-b6f33000 rw-p 00002000 08:03 31214169 /lib/libkeyutils.so.1.3
b6f33000-b6f34000 rw-p 00000000 00:00 0
b6f34000-b6f3d000 r-xp 00000000 08:03 31214167 /lib/libkrb5support.so.0.1
b6f3d000-b6f3e000 r--p 00008000 08:03 31214167 /lib/libkrb5support.so.0.1
b6f3e000-b6f3f000 rw-p 00009000 08:03 31214167 /lib/libkrb5support.so.0.1
b6f3f000-b6f58000 r-xp 00000000 08:03 30543649 /usr/lib/libsasl2.so.2.0.23Aborted
首先作者调试centos6.4的bug辛苦了 = =
这个环境确实不好配置。。
然后刚才我又办了一件错事,调试用的服务器被caoliu给限制了。
我的两台这个机房的服务器都被ban了非常郁闷呢。。╮(╯▽╰)╭
被ban的表现是,请求的页面跳转到:
然后提交验证码获得验证通过的sessionID存在cookie里面 形如:PHPSESSID 这个值作为一个程序运行的参数传进去吧,作为header传进去进行请求应该就不会ban了。 主要是我用的for方式非常容易触发这个 ╮(╯▽╰)╭我知错了>_<
4 [unknown (0x2FF8)] hardseed 7300 cygwin_exception::open_stackdumpfile: Dumping stack trace to hardseed.exe.stackdump
求解
让我们抱着学习的态度来研究一下
Download the pictures and seeds of topics:
*** longjmp causes uninitialized stack frame ***: hardseed terminated
======= Backtrace: =========
/lib/i386-linux-gnu/i686/cmov/libc.so.6(__fortify_fail+0x50)[0xb754d3c0]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0xea32a)[0xb754d32a]
/usr/lib/i386-linux-gnu/libcurl.so.4(+0x90f5)[0xb77180f5]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZNSt6thread4joinEv+0x40)[0xb76b3490]
======= Memory map: ========
08048000-0808a000 r-xp 00000000 fe:01 529785 /usr/bin/hardseed
0808a000-0808b000 rw-p 00041000 fe:01 529785 /usr/bin/hardseed
0808b000-0808c000 rw-p 00000000 00:00 0
09b9f000-09c7a000 rw-p 00000000 00:00 0 [heap]
b2e08000-b2e0a000 r-xp 00000000 fe:01 1183387 /lib/libnss_mdns4.so.2
b2e0a000-b2e0b000 rw-p 00001000 fe:01 1183387 /lib/libnss_mdns4.so.2
b2e13000-b2e14000 ---p 00000000 00:00 0
b2e14000-b3614000 rw-p 00000000 00:00 0
b3614000-b3615000 ---p 00000000 00:00 0
b3615000-b3e15000 rw-p 00000000 00:00 0
b3e15000-b3e16000 ---p 00000000 00:00 0
b3e16000-b4616000 rw-p 00000000 00:00 0
b4616000-b4617000 ---p 00000000 00:00 0
b4617000-b4e17000 rw-p 00000000 00:00 0
b4e17000-b4e18000 ---p 00000000 00:00 0
b4e18000-b5618000 rw-p 00000000 00:00 0
b5618000-b5619000 ---p 00000000 00:00 0
b5619000-b5e19000 rw-p 00000000 00:00 0
b5e19000-b5e1a000 ---p 00000000 00:00 0
b5e1a000-b661a000 rw-p 00000000 00:00 0
b661a000-b661b000 ---p 00000000 00:00 0
b661b000-b6e1b000 rw-p 00000000 00:00 0
b6e1b000-b6e36000 r-xp 00000000 fe:01 529729 /usr/lib/i386-linux-gnu/gconv/GBK.so
b6e36000-b6e37000 r--p 0001a000 fe:01 529729 /usr/lib/i386-linux-gnu/gconv/GBK.so
b6e37000-b6e38000 rw-p 0001b000 fe:01 529729 /usr/lib/i386-linux-gnu/gconv/GBK.so
b6e38000-b6e3c000 r-xp 00000000 fe:01 1183715 /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so
b6e3c000-b6e3d000 r--p 00004000 fe:01 1183715 /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so
b6e3d000-b6e3e000 rw-p 00005000 fe:01 1183715 /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so
b6e3e000-b6e48000 r-xp 00000000 fe:01 1183749 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
b6e48000-b6e49000 r--p 00009000 fe:01 1183749 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
b6e49000-b6e4a000 rw-p 0000a000 fe:01 1183749 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
b6e4b000-b6e52000 r--s 00000000 fe:01 529766 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
b6e52000-b6e56000 rw-p 00000000 00:00 0
b6e56000-b6e66000 r-xp 00000000 fe:01 529392 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
b6e66000-b6e67000 r--p 00010000 fe:01 529392 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
b6e67000-b6e68000 rw-p 00011000 fe:01 529392 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
b6e68000-b6e78000 r-xp 00000000 fe:01 529810 /usr/lib/i386-linux-gnu/libtasn1.so.3.1.16
b6e78000-b6e79000 r--p 0000f000 fe:01 529810 /usr/lib/i386-linux-gnu/libtasn1.so.3.1.16
b6e79000-b6e7a000 rw-p 00010000 fe:01 529810 /usr/lib/i386-linux-gnu/libtasn1.so.3.1.16
b6e7a000-b6e7b000 rw-p 00000000 00:00 0
b6e7b000-b6e7e000 r-xp 00000000 fe:01 1183905 /lib/i386-linux-gnu/libgpg-error.so.0.8.0
b6e7e000-b6e7f000 rw-p 00002000 fe:01 1183905 /lib/i386-linux-gnu/libgpg-error.so.0.8.0
b6e7f000-b6e82000 r-xp 00000000 fe:01 1183760 /lib/i386-linux-gnu/libkeyutils.so.1.4
b6e82000-b6e83000 r--p 00002000 fe:01 1183760 /lib/i386-linux-gnu/libkeyutils.so.1.4
b6e83000-b6e84000 rw-p 00003000 fe:01 1183760 /lib/i386-linux-gnu/libkeyutils.so.1.4
b6e84000-b6e86000 r-xp 00000000 fe:01 1183730 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
b6e86000-b6e87000 r--p 00001000 fe:01 1183730 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
b6e87000-b6e88000 rw-p 00002000 fe:01 1183730 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
b6e88000-b6e8f000 r-xp 00000000 fe:01 533143 /usr/lib/i386-linux-gnu/libkrb5support.so.0.1
b6e8f000-b6e90000 r--p 00007000 fe:01 533143 /usr/lib/i386-linux-gnu/libkrb5support.so.0.1
b6e90000-b6e91000 rw-p 00008000 fe:01 533143 /usr/lib/i386-linux-gnu/libkrb5support.so.0.1
b6e91000-b6e94000 r-xp 00000000 fe:01 1183873 /lib/i386-linux-gnu/libcom_err.so.2.1
b6e94000-b6e95000 r--p 00002000 fe:01 1183873 /lib/i386-linux-gnu/libcom_err.so.2.1
b6e95000-b6e96000 rw-p 00003000 fe:01 1183873 /lib/i386-linux-gnu/libcom_err.so.2.1
b6e96000-b6e97000 rw-p 00000000 00:00 0
b6e97000-b6ebe000 r-xp 00000000 fe:01 533122 /usr/lib/i386-linux-gnu/libk5crypto.so.3.1
b6ebe000-b6ebf000 r--p 00026000 fe:01 533122 /usr/lib/i386-linux-gnu/libk5crypto.so.3.1
b6ebf000-b6ec0000 rw-p 00027000 fe:01 533122 /usr/lib/i386-linux-gnu/libk5crypto.so.3.1
b6ec0000-b6ec1000 rw-p 00000000 00:00 0
b6ec1000-b6f8c000 r-xp 00000000 fe:01 533136 /usr/lib/i386-linux-gnu/libkrb5.so.3.3
b6f8c000-b6f92000 r--p 000ca000 fe:01 533136 /usr/lib/i386-linux-gnu/libkrb5.so.3.3
b6f92000-b6f93000 rw-p 000d0000 fe:01 533136 /usr/lib/i386-linux-gnu/libkrb5.so.3.3
b6f93000-b7056000 r-xp 00000000 fe:01 532617 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.4
b7056000-b705a000 r--p 000c2000 fe:01 532617 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.4
b705a000-b705b000 rw-p 000c6000 fe:01 532617 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.4
b705b000-b705c000 rw-p 00000000 00:00 0
b705c000-b7076000 r-xp 00000000 fe:01 529397 /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25
b7076000-b7077000 r--p 00019000 fe:01 529397 /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25
b7077000-b7078000 rw-p 0001a000 fe:01 529397 /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25
b7078000-b7088000 r-xp 00000000 fe:01 1183719 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
b7088000-b7089000 r--p 00010000 fe:01 1183719 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
b7089000-b708a000 rw-p 00011000 fe:01 1183719 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
b708a000-b708d000 rw-p 00000000 00:00 0
b708d000-b710e000 r-xp 00000000 fe:01 1183929 /lib/i386-linux-gnu/libgcrypt.so.11.7.0
b710e000-b710f000 ---p 00081000 fe:01 1183929 /lib/i386-linux-gnu/libgcrypt.so.11.7.0
b710f000-b7110000 r--p 00081000 fe:01 1183929 /lib/i386-linux-gnu/libgcrypt.so.11.7.0
b7110000-b7112000 rw-p 00082000 fe:01 1183929 /lib/i386-linux-gnu/libgcrypt.so.11.7.0
b7112000-b7129000 r-xp 00000000 fe:01 1183842 /lib/i386-linux-gnu/libz.so.1.2.7Aborted
是不是可以添加一个json来存储默认配置?
还是有但是我没看到...
种子下载失败,很多都是0kb,无法打开。
我只是想上来说一句1024~~
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kslr/hardseed-master/build
翻墙正常,后面种子的链接用浏览器也能正常访问下载,但是 hardseed 日志里都是这样的错误:
"[MP43.2G]Private.Castings.New.Generation.04 Private新片-新生代 4 720P" - failure (download error from http://cl.man.lv/htm_data/4/1407/1158187.html. seed error: http://www.rmdown.com/link.php?hash=14247e940cafd656f2c8cdc59806c69019b1ba46f7c)
结果就是图片都下载下来了,种子是空文件。
git clone 下来太大了,其实我只需要源码,二进制可以使用 https://bintray.com/ 来发布
--like后面的关键词区分大小写吗?如果区分,如何让它不区分大小写?
(1)
caoliu国内其实可以直接访问的,只是网址经常变,
例如下面的网页里,一般至少有一个是可以访问的。
https://groups.yahoo.com/neo/groups/cao6/info
所以希望网址不要硬编码进程序,而是把网址写进配置文件。
或者程序直接从上面的网页里自动探测出哪个地址可以使用。
(2)
既然可以直接访问,那就么有必要使用代理里,但好像没法禁用代理。
win 下无法删除下载文件夹 C:[aicheng_asia_mosaicked][1~128]@102110
标题什么的提示成功,但是图片无法下载
rt,确实强大的神器
static const string portals_file_url("http://raw.githubusercontent.com/yangyangwithgnu/hardseed/master/config/portals_list.json");
Webpage portals_list_webpage(portals_file_url, "", "http://127.0.0.1:8087");
if (!portals_list_webpage.isLoaded()) {
cerr << "ERROR! fail to load " << portals_file_url << endl;
exit(EXIT_FAILURE);
}
http://127.0.0.1:8087,表示用ss的很忧伤,自己改成了socks5://127.0.0.1:port
Ubuntu 15.10,x64
gcc --version:gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010
curl --version:curl 7.43.0 (x86_64-pc-linux-gnu) libcurl/7.43.0 GnuTLS/3.3.15 zlib/1.2.8 libidn/1.28 librtmp/2.3
make && sudo make install时提示如下错误:
[ 5%] Building CXX object CMakeFiles/hardseed.dir/home/lee/hardseed/src/main.o
In file included from /home/lee/hardseed/src/main.cpp:13:0:
/home/lee/hardseed/src/lib/helper/Webpage.h:7:23: fatal error: curl/curl.h: 没有那个文件或目录
compilation terminated.
CMakeFiles/hardseed.dir/build.make:54: recipe for target 'CMakeFiles/hardseed.dir/home/lee/hardseed/src/main.o' failed
make[2]: *** [CMakeFiles/hardseed.dir/home/lee/hardseed/src/main.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/hardseed.dir/all' failed
make[1]: *** [CMakeFiles/hardseed.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
目前在用windows版,翻墙工具用的shadowsocks,能不能支持下配置文件填代理呢?只支持http代理也可以接受,可以自定义代理就好了
目前2个网站主要使用的种子地址并不是目前由getSeedUrl返回的类似于http://xxxxx.com/ref=abcd,当解析到这个的时候,还需要做一步操作,种子的真实下载地址需要用到ref,
CL:
url:http://www.rmdown.com/download.php
method: POST
Content-Type:multipart/form-data (即模拟表单POST)
BODY的参数包括:
ref: 上面提到的ref,即abcd
reff: 当前时间戳的base64
submit: download(这个好像是固定的)
AC:
url: http://www.jandown.com/fetch.php
body的参数:
code : 就是ref,即abcd
其他的和CL一样
以上我用chrome的Advanced REST client 测试过,能够获得种子文件
本人不熟悉C++,所以不能提PR,希望大神能够考虑一下这个建议
这个 python
编译后的,而且还是 vim 的 ycm 插件的文件实际上可以加入到 .gitignore
里面。
下载的zip中没有Windows运行文件,求帮助
类似于goagent.
为了方便配置参数,我搞了个CMD,hardseed.exe --av-class caoliu_asia_mosaicked_reposted caoliu_asia_mosaicked_original aicheng_asia_mosaicked --saveas-path G:
右键管理员权限运行,闪一下就没了.
但是手动CD到目录下,然后输入这行参数,是可以运行的..不知道为什么.
希望增加一个ini,方便配置参数,不然每次手动CD然后运行太蛋疼..
另请求增加BT工厂支持,因为BT工厂是按日期更新的,有时候没空看,可以方便的从上次的日期补回来.
谢谢!
你,党之栋梁、国之人才,注意身体,千万!
我良辰表示服~
把iconv源码加进去一块编译吧
$ make && make install (master✱)
Scanning dependencies of target hardseed
。。。。。。。
Linking CXX executable hardseed
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
Webpage::convertCharset(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in Webpage.o
"_iconv_close", referenced from:
Webpage::convertCharset(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in Webpage.o
"_iconv_open", referenced from:
Webpage::convertCharset(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in Webpage.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [hardseed] Error 1
make[1]: *** [CMakeFiles/hardseed.dir/all] Error 2
make: *** [all] Error 2
makefile 的生成没有问题
但是 make 的时候出现了关于 _iconv 的问题
[ 5%] Linking CXX executable hardseed Undefined symbols for architecture x86_64: "_iconv", referenced from:
没有安装额外的 libiconv 库。系统是 Capitan
/usr/lib/ 下面有以下几个关于 iconv 的文件
/usr/lib/libiconv.2.4.0.dylib /usr/lib/libiconv.dylib /usr/lib/libiconv.2.dylib
求大神支招。或者邮箱一个你自己编译过的 mac 版本的hardseed。多谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.