Coder Social home page Coder Social logo

cdhigh / forwarder Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 85.0 51 KB

简单的HTTP请求转发服务器,配合KIndleEar翻入墙内或绕过部分网站对GAE的IP地址的封锁。灵感来自https://github.com/ohdarling/ZhihuDailyForwarder

Python 100.00%

forwarder's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

forwarder's Issues

转发器似乎能正常工作但保存到evernote、pocket和instapaper都不成功

把kindleear和这个forwarder所有的issue都看了没有找到办法,只好冒昧向大神请教。

1、我自己搭的转发器地址 http://xxxx.herokuapp.com/ 貌似搭成功了

2、然后按照说明文件修改config.py 文件,

SHARE_FUCK_GFW_SRV: (For users in China)如果你要翻墙的话,请设置为其中一个转发服务器

翻墙转发服务器源码:http://github.com/cdhigh/forwarder

SHARE_FUCK_GFW_SRV = "http://forwarder.ap01.aws.af.cm/?k=xzSlE&t=60&u=%s"
SHARE_FUCK_GFW_SRV = "http://xxxx.herokuapp.com/?k=xzSlE&t=60&u=%s"
SAVE_TO_EVERNOTE = u"Save to Evernote"
SAVE_TO_WIZ = u"Save to Wiz"
SAVE_TO_POCKET = u"Save to Pocket"
SAVE_TO_INSTAPAPER = u"Save to Instapaper"
SHARE_ON_XWEIBO = u"Share on Sina Weibo"
SHARE_ON_TWEIBO = u"Share on Tencent Weibo"
SHARE_ON_FACEBOOK = u"Share on Facebook"
SHARE_ON_TWITTER = u"Tweet it"
SHARE_ON_TUMBLR = u"Share on Tumblr"
OPEN_IN_BROWSER = u"Open in Browser"

POCKET_CONSUMER_KEY = '50188-e221424f1c9ed0c010058aef'

———————————分割线————————————

不知道是不是我哪里格式搞错了?执行uploader.bat部署之后,在kindle上点击相关链接时,总是显示 【加载本页时出错,点击后退尝试从前一页中重新加载。】

请大神明示,是不是我的步骤在哪里出了问题,谢谢!

Heroku部署失败

你好,根据你的教程,我尝试在heroku上部署了转发器。但在最后一步上传代码
git push heroku master的时候,总是失败。提示以下错误:
! Push rejected, no Cedar-supported app detected
HINT: This occurs when Heroku cannot detect the buildpack
to use for this application automatically.
See https://devcenter.heroku.com/articles/buildpacks

部署完成后报400错误

在代理url的时候,页面显示:
Error: 400 Bad Request
Unknown Error: Application stopped.
我查了下日志,貌似应该是ERR : <class 'urllib2.URLError'> : <urlopen error [Errno -2] Name or service not known>这个错误,但是不知如何解决……

另外在代理zhihu的时候,发现日志报 ERR : <class 'ssl.CertificateError'> : hostname 'news.at.zhihu.com' doesn't match either of '*.zhihu.com', 'zhihu.com' 错误,貌似是走了https,发现证书不对报错

使用方法不懂

按照教程弄好了转发器,那个使用方法中的验证码不用改吧,只需要将config.py中SHARE_FUCK_GFW_SRV的值前面的网址替换成自己的网址吗?其余需要转发服务器的book需要一个个改吗

根据方法一搭建不成功

-----> Python app detected
-----> Installing requirements with pip
You must give at least one requirement to install (see "pip help install")
-----> Discovering process types
Procfile declares types -> web
-----> Compressing...
Done: 41.3M
-----> Launching...
Released v5
https://saveforcollectinfo.herokuapp.com/ deployed to Heroku

=========================================================

看说明好像是requirements 缺少东西。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.