Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Links #245

Open
awesome-bot opened this issue May 18, 2017 · 7 comments
Open

Validate Links #245

awesome-bot opened this issue May 18, 2017 · 7 comments

Comments

@awesome-bot
Copy link

Hello, I wrote a tool that can validate README links. It can be run when someone submits a pull request or pushes a commit.

For example, you would see that

https://github.com/ptmt/react-native-desktop redirects to 
https://github.com/ptmt/react-native-macos 

https://github.com/qiuyuzhou/ShadowsocksX-NG redirects to 
https://github.com/shadowsocks/ShadowsocksX-NG 

https://github.com/jeremyvizzini/ScreenToLayers is now 404

..and more: see https://gist.github.com/cae2a9c57af12777cafb1da2583e01e5

This tool is currently being used by

Examples

If you are interested, connect this repo to https://travis-ci.org/ and add a .travis.yml file to the project (you can also use Circle CI or other CI services).

See https://github.com/dkhamsing/awesome_bot for options, more information
Feel free to leave a comment 😄

@xcv58
Copy link
Collaborator

xcv58 commented May 18, 2017

Cool!

@xcv58
Copy link
Collaborator

xcv58 commented Feb 9, 2018

@xcv58
Copy link
Collaborator

xcv58 commented Feb 9, 2018

Issues with --allow-dupe

README-zh.md

  01. [L005]  http://mp.weixin.qq.com/s?__biz=MzAwNzgxMjYzMA==&mid=2649129466&idx=1&sn=e50f0049b096cf28b7cf707a4b5adb33#rd incorrect header check
  02. [L141]  http://cellist.patr0n.us/index.html Failed to open TCP connection to cellist.patr0n.us:80 (Connection refused - connect(2) for "cellist.patr0n.us" port 80)
  03. [L186]  https://desktop.github.com/ Failed to open TCP connection to desktop.github.com:443 (getaddrinfo: nodename nor servname provided, or not known)
  04. [L204]  https://gerrit.rockbox.org SSL_connect returned=1 errno=0 state=error: certificate verify failed
  05. [L283]  https://www.axure.com/ incorrect header check
  06. [L326]  http://www.colorschemer.com/ Failed to open TCP connection to www.colorschemer.com:80 (getaddrinfo: nodename nor servname provided, or not known)
  07. [L544]  http://c49.yunpan.360.cn/ Failed to open TCP connection to c49.yunpan.360.cn:80 (getaddrinfo: nodename nor servname provided, or not known)
  08. [L545]  http://web.kuaipan.cn/d/mac Failed to open TCP connection to web.kuaipan.cn:80 (Operation timed out - connect(2) for "web.kuaipan.cn" port 80)
  09. [L560] 403 http://www.pawpawsoft.com
  10. [L615]  https://www.ytpub.com/ Failed to open TCP connection to www.ytpub.com:443 (getaddrinfo: nodename nor servname provided, or not known)
  11. [L616]  http://50r.cn/ifn76I Failed to open TCP connection to 50r.cn:80 (getaddrinfo: nodename nor servname provided, or not known)
  12. [L619] 404 http://www.jsqgtx.cc/DownLoad
  13. [L620]  https://www.greenjsq.me/ Failed to open TCP connection to www.greenjsq.me:443 (getaddrinfo: nodename nor servname provided, or not known)
  14. [L621]  https://www.wisevpn.net SSL_connect returned=1 errno=0 state=error: certificate verify failed
  15. [L708] 404 http://mstarke.github.io/MacPass/
  16. [L754] 521 http://hack-store.com/
  17. [L754] 521 http://hack-store.com
  18. [L786] 504 http://www.pshezi.com

README.md

  01. [L152]  http://cellist.patr0n.us/index.html Failed to open TCP connection to cellist.patr0n.us:80 (Connection refused - connect(2) for "cellist.patr0n.us" port 80)
  02. [L337]  http://www.colorschemer.com/ Failed to open TCP connection to www.colorschemer.com:80 (getaddrinfo: nodename nor servname provided, or not known)
  03. [L396] 404 https://www.nylas.com/n1
  04. [L547]  http://c49.yunpan.360.cn/ Failed to open TCP connection to c49.yunpan.360.cn:80 (getaddrinfo: nodename nor servname provided, or not known)
  05. [L562] 403 http://www.pawpawsoft.com
  06. [L616]  http://50r.cn/ifn76I Failed to open TCP connection to 50r.cn:80 (getaddrinfo: nodename nor servname provided, or not known)
  07. [L619] 404 http://www.jsqgtx.cc/DownLoad
  08. [L620]  https://www.greenjsq.me/ Failed to open TCP connection to www.greenjsq.me:443 (getaddrinfo: nodename nor servname provided, or not known)
  09. [L621]  https://www.wisevpn.net SSL_connect returned=1 errno=0 state=error: certificate verify failed
  10. [L693] 404 http://mstarke.github.io/MacPass/
  11. [L806] 521 http://hack-store.com
  12. [L815] 504 http://www.pshezi.com

@jaywcjlove
Copy link
Owner

jaywcjlove commented Feb 9, 2018

@xcv58 I have dealt with some issues.. A few urls can be opened in China.

@jaywcjlove
Copy link
Owner

@xcv58 I want to correct it slowly.

@xcv58
Copy link
Collaborator

xcv58 commented Feb 9, 2018

Thanks for updating, please tell me if you need any help.

I have dealt with some issues.. A few urls can be opened in China.

Do you mean a few URLs can only be opened in China but not in Travis CI?

@jaywcjlove
Copy link
Owner

@xcv58 @xcv58 There are two URLs before this test is not in Travis CI. But it can be opened in China.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants