shenxugongzi / fanhaosearch Goto Github PK
View Code? Open in Web Editor NEW番号搜索器在线版本
Home Page: https://www.teidihen.com/
番号搜索器在线版本
Home Page: https://www.teidihen.com/
请输入番号:wnz-188
Traceback (most recent call last):
File "FanHao.py", line 80, in <module>
GetProxy = urllib2.urlopen(proxy_url)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error>
$ python FanHao.py
##################################################
#番号下载器
##################################################
--------------------开始获取代理--------------------
--------------------------------------------------
采集代理错误,请检查您的网络是否正常!
--------------------------------------------------
Traceback (most recent call last):
File "FanHao.py", line 33, in <module>
raw_input(u'按回车结束程序:')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128)
$ python FanHao.py
##################################################
Traceback (most recent call last):
File "FanHao.py", line 11, in <module>
print '#'+u'番号下载器'
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-5: ordinal not in range(128)
Traceback (most recent call last):
File "FanHao_win.py", line 61, in
File "urllib2.pyc", line 127, in urlopen
File "urllib2.pyc", line 404, in open
File "urllib2.pyc", line 422, in _open
File "urllib2.pyc", line 382, in _call_chain
File "urllib2.pyc", line 1222, in https_open
File "urllib2.pyc", line 1184, in do_open
urllib2.URLError: urlopen error [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
希望能在FanHao.py文件的头部添加 一行#!/usr/bin/env python
希望能修改下第70行为:
FanHao_NR = '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">' + '\n' + '<link rel="stylesheet" href="http://cdn.bootcss.com/ bootstrap/3.2.0/css/bootstrap.min.css">'+'\n'+'<center><h3>肾虚公子番号采集器</h3><hr/><p>本软件资料来源于网络,如有异议请联系作者</p><br/><tabl e class="table table-striped table-hover"></center>'
(在火狐33中会出现乱码, 使用meta标签说明页面信息能解决乱码问题)
哦对了对了, urllib 和 shutil这两个模块没有用到吧? 能否不导入呢?
最后, 代理有点慢诶...其实直接去btdigg搜索似乎来得快些
还以为你要实现搜索引擎,结果直接代理调BTdigg,你的代理还是开lantern吧,直接开上lantern不就好了,不过github上的lantern现在开始慢慢要收费了,你得找低版本的,不过还是挺好找的
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.