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

Is it suitable for third party app to use online demo's api? #190

Open
neoFelhz opened this Issue Jul 14, 2017 · 73 comments

Comments

Projects
None yet
@neoFelhz

neoFelhz commented Jul 14, 2017

There's a Chinese Android APP using waifu2x online demo's API. And he adds some AD to his APP so that he can make money from it.

Here is the link of the APP: 图片放大镜-拯救马赛克 3.1
And there is the result of packets capture:

And there is the developer's reply to people's question about it:

Translations: Why a software should not have a little bit of profit? I do use someone else's server, and so what? Is it illegal? Why are some people always pretending to be the spokesperson of justice?

There're some information about the APP:

  • Name: 图片放大镜-拯救马赛克
  • Package Name: com.bzy.tpxf
  • Developer: bzyapp
@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Jul 14, 2017

Owner

I know that some addons/scripts are using our API.
waifu2x is an open source project, it can be easily clone it, so I think that they should host their own server.
Also, our server is currently hosted by pixiv Inc. That is probably not what they intend. @edvakf

I am planning to use reCAPTCHA, but one concern is that Chinese users can not access reCAPTCHA because reCAPTCHA is hosted by Google. I've heard that. Is this true?

Owner

nagadomi commented Jul 14, 2017

I know that some addons/scripts are using our API.
waifu2x is an open source project, it can be easily clone it, so I think that they should host their own server.
Also, our server is currently hosted by pixiv Inc. That is probably not what they intend. @edvakf

I am planning to use reCAPTCHA, but one concern is that Chinese users can not access reCAPTCHA because reCAPTCHA is hosted by Google. I've heard that. Is this true?

@neoFelhz

This comment has been minimized.

Show comment
Hide comment
@neoFelhz

neoFelhz Jul 14, 2017

@nagadomi Yes, it is true.
I am from China, and I have to use proxy server to access the blocked sites. You can find out more details about GFW at wikipedia: https://en.wikipedia.org/wiki/Great_Firewall
The reCAPTCHA can't work correctly because the GFW blocked nearly all the Servers of Google.
But there are some captcha program which can be self-hosted. Maybe you can use them to avoid the abuse.

neoFelhz commented Jul 14, 2017

@nagadomi Yes, it is true.
I am from China, and I have to use proxy server to access the blocked sites. You can find out more details about GFW at wikipedia: https://en.wikipedia.org/wiki/Great_Firewall
The reCAPTCHA can't work correctly because the GFW blocked nearly all the Servers of Google.
But there are some captcha program which can be self-hosted. Maybe you can use them to avoid the abuse.

@neoFelhz

This comment has been minimized.

Show comment
Hide comment
@neoFelhz

neoFelhz Jul 14, 2017

On the other hand, most of abuse may come from China (I am sorry for that if it is true).
Some Chinese like abuse free service, so waifu2x.udp.jp would avoid most of abuse if you decide to use reCAPTCHA.

neoFelhz commented Jul 14, 2017

On the other hand, most of abuse may come from China (I am sorry for that if it is true).
Some Chinese like abuse free service, so waifu2x.udp.jp would avoid most of abuse if you decide to use reCAPTCHA.

@wx40217

This comment has been minimized.

Show comment
Hide comment
@wx40217

wx40217 Jul 15, 2017

What is worse is that he add ADs to his APP to earn money.He never thinks he is wrong and still laughes at people who says he copied others'work.

wx40217 commented Jul 15, 2017

What is worse is that he add ADs to his APP to earn money.He never thinks he is wrong and still laughes at people who says he copied others'work.

@zunpiau

This comment has been minimized.

Show comment
Hide comment
@zunpiau

zunpiau Jul 15, 2017

The developer will never stop his behavior unless you add some limit like reCAPTCHA.

zunpiau commented Jul 15, 2017

The developer will never stop his behavior unless you add some limit like reCAPTCHA.

@aikachoco

This comment has been minimized.

Show comment
Hide comment
@aikachoco

aikachoco Jul 15, 2017

@nagadomi
I am another developer from china and I have something to say.
In china , many people pack open source program into apps and add ads in it to earn money.
AND WE DEVELOPERS HATE THEM.
Now this app even advertises itself on other big sites and get more and more users which can cause huge server pressure , so please consider taking fireback such as reCaptcha quickly , really thanks.

btw I want to ask if it is legal to port this project to android platform and make an app for it(which all compute will be done using SOC not remotely)

aikachoco commented Jul 15, 2017

@nagadomi
I am another developer from china and I have something to say.
In china , many people pack open source program into apps and add ads in it to earn money.
AND WE DEVELOPERS HATE THEM.
Now this app even advertises itself on other big sites and get more and more users which can cause huge server pressure , so please consider taking fireback such as reCaptcha quickly , really thanks.

btw I want to ask if it is legal to port this project to android platform and make an app for it(which all compute will be done using SOC not remotely)

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Jul 15, 2017

Owner

@aikachoco
waifu2x is licensed under MIT License. You can use this code for any commercial service. However, we are not allowed to use our web server directly. GPU instance is very costly.

Owner

nagadomi commented Jul 15, 2017

@aikachoco
waifu2x is licensed under MIT License. You can use this code for any commercial service. However, we are not allowed to use our web server directly. GPU instance is very costly.

@neoFelhz

This comment has been minimized.

Show comment
Hide comment
@neoFelhz

neoFelhz Jul 15, 2017

@nagadomi
And all in all, we all think it is necessary for waifu2x.udp.jp using reCAPTCHA. It can avoid most of the abuse from China.

neoFelhz commented Jul 15, 2017

@nagadomi
And all in all, we all think it is necessary for waifu2x.udp.jp using reCAPTCHA. It can avoid most of the abuse from China.

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Jul 15, 2017

Owner

I am not thinking of blocking access from certain region.
I just want to avoid high frequency continuous access and external use.

Owner

nagadomi commented Jul 15, 2017

I am not thinking of blocking access from certain region.
I just want to avoid high frequency continuous access and external use.

@hjthjthjt

This comment has been minimized.

Show comment
Hide comment
@hjthjthjt

hjthjthjt Jul 15, 2017

@nagadomi.
So I think add reCAPTCHA is a way to avoid the thief like bzyapp

hjthjthjt commented Jul 15, 2017

@nagadomi.
So I think add reCAPTCHA is a way to avoid the thief like bzyapp

@aikachoco

This comment has been minimized.

Show comment
Hide comment
@aikachoco

aikachoco Jul 15, 2017

@nagadomi
🤔 so it means I could develop a version which uses chipset from the phone to compute and not use the server?(if I make the source code public too)
Because I made it work on my MI5 before(of course with looooooow speed)

and for captcha...
well after some negociation(i donot remember if the word spells like this), the developer seems not to take back his app.......
Actually I and many other people here know how to bypass the GFW and do the reCAPTCHA xD
and I think people who need the server also know how to do that
so it actually doesnot block a specific country,it just blocks specific people with harmful intent
therefore i still recommend using reCAPTCHA as quickly as possible to block too much heavy traffic by the app

appriciate for answering so quickly

aikachoco commented Jul 15, 2017

@nagadomi
🤔 so it means I could develop a version which uses chipset from the phone to compute and not use the server?(if I make the source code public too)
Because I made it work on my MI5 before(of course with looooooow speed)

and for captcha...
well after some negociation(i donot remember if the word spells like this), the developer seems not to take back his app.......
Actually I and many other people here know how to bypass the GFW and do the reCAPTCHA xD
and I think people who need the server also know how to do that
so it actually doesnot block a specific country,it just blocks specific people with harmful intent
therefore i still recommend using reCAPTCHA as quickly as possible to block too much heavy traffic by the app

appriciate for answering so quickly

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Jul 18, 2017

Owner

@aikachoco

so it means I could develop a version which uses chipset from the phone to compute and not use the server?

Yes. Also, If you host the your own server, there is nothing wrong.
And, android native app already exists at
https://play.google.com/store/apps/details?id=com.kaede_software.superresolutionwaifu2x&hl=ja
But it uses the old version of waifu2x model.

Owner

nagadomi commented Jul 18, 2017

@aikachoco

so it means I could develop a version which uses chipset from the phone to compute and not use the server?

Yes. Also, If you host the your own server, there is nothing wrong.
And, android native app already exists at
https://play.google.com/store/apps/details?id=com.kaede_software.superresolutionwaifu2x&hl=ja
But it uses the old version of waifu2x model.

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Jul 26, 2017

Owner

I've investigated the access log today.
There are lots of external use, over 50% of POST request was external use.
Currently some UserAgent is blocked, but I guess that they will use fake UserAgent.
Probably we need some additional action.

Owner

nagadomi commented Jul 26, 2017

I've investigated the access log today.
There are lots of external use, over 50% of POST request was external use.
Currently some UserAgent is blocked, but I guess that they will use fake UserAgent.
Probably we need some additional action.

@neoFelhz

This comment has been minimized.

Show comment
Hide comment
@neoFelhz

neoFelhz Jul 26, 2017

@nagadomi
I strongly recommend using reCAPTCHA to avoid most of the abusement.
Another idea is to limit the rate of frequency of the API request.

neoFelhz commented Jul 26, 2017

@nagadomi
I strongly recommend using reCAPTCHA to avoid most of the abusement.
Another idea is to limit the rate of frequency of the API request.

@MarkussLugia

This comment has been minimized.

Show comment
Hide comment
@MarkussLugia

MarkussLugia Jul 28, 2017

@nagadomi
The developer updated his app about seven hrs ago.
screenshot_20170728-184445
Which is again, capable of using the demo's API.
screenshot_20170728-184429
With someone told him about the UA-blockage, I suppose the apps using fake UA, as you expected. So please do something. Quick.

MarkussLugia commented Jul 28, 2017

@nagadomi
The developer updated his app about seven hrs ago.
screenshot_20170728-184445
Which is again, capable of using the demo's API.
screenshot_20170728-184429
With someone told him about the UA-blockage, I suppose the apps using fake UA, as you expected. So please do something. Quick.

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Jul 29, 2017

Owner

hmm. now waifu2x.udp.jp have supported reCAPTCHA but I don't like reCAPTCHA, the quiz is very frustrating.
also, currently we are using the google's server, it may not be accessible from china.
I'm going to test the solution with reverse proxy.

Owner

nagadomi commented Jul 29, 2017

hmm. now waifu2x.udp.jp have supported reCAPTCHA but I don't like reCAPTCHA, the quiz is very frustrating.
also, currently we are using the google's server, it may not be accessible from china.
I'm going to test the solution with reverse proxy.

@MarkussLugia

This comment has been minimized.

Show comment
Hide comment
@MarkussLugia

MarkussLugia Jul 29, 2017

reCAPTCHA is recommended. For the ones who really interests in how waifu2x works, accessing blocked sites is a piece of cake. It blocks most of the ones who just makes nonsense out of the demo.
P. S. Google-hosted-third-party servers ARE ACCESSABLE in China. Thanks GFW, which blocks sites mainly by DNS corruption.

MarkussLugia commented Jul 29, 2017

reCAPTCHA is recommended. For the ones who really interests in how waifu2x works, accessing blocked sites is a piece of cake. It blocks most of the ones who just makes nonsense out of the demo.
P. S. Google-hosted-third-party servers ARE ACCESSABLE in China. Thanks GFW, which blocks sites mainly by DNS corruption.

@neluzhin

This comment has been minimized.

Show comment
Hide comment
@neluzhin

neluzhin Jul 29, 2017

waifu2x is an open source project, it can be easily clone it, so I think that they should host their own server

You are right, @nagadomi, but servers with GPU are too expensive. For small non-profit projects like mine (which made just 6-12 requests to waifu2x.udp.jp per day) it's impossible to pay $700/mo (lowest price I found on OVH) just for GPU which will be used only in one hobby project.

It will be awesome if you'll release some solutions for non-profit or small projects. Limited API, for example. Or at least any paid plans.

neluzhin commented Jul 29, 2017

waifu2x is an open source project, it can be easily clone it, so I think that they should host their own server

You are right, @nagadomi, but servers with GPU are too expensive. For small non-profit projects like mine (which made just 6-12 requests to waifu2x.udp.jp per day) it's impossible to pay $700/mo (lowest price I found on OVH) just for GPU which will be used only in one hobby project.

It will be awesome if you'll release some solutions for non-profit or small projects. Limited API, for example. Or at least any paid plans.

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Jul 29, 2017

Owner

@ssimplix
My position is the same as you. I am paying $600~$900/mo for free web service from my personal expenses.
The number of GPU instance is chosen by the page view of my web service. There are no free resources.
(currently the server is not hosted by pixiv.)

EDIT:
The application that is descriped by OP is sending a lot of requests to my server.
I am not interested in the business of rental API , so I decided to prohibit external use uniformly.

Owner

nagadomi commented Jul 29, 2017

@ssimplix
My position is the same as you. I am paying $600~$900/mo for free web service from my personal expenses.
The number of GPU instance is chosen by the page view of my web service. There are no free resources.
(currently the server is not hosted by pixiv.)

EDIT:
The application that is descriped by OP is sending a lot of requests to my server.
I am not interested in the business of rental API , so I decided to prohibit external use uniformly.

@Mikoto10032

This comment has been minimized.

Show comment
Hide comment
@Mikoto10032

Mikoto10032 Jul 30, 2017

I think that guy just like S.H.I.T.I hasn't official permission.

Mikoto10032 commented Jul 30, 2017

I think that guy just like S.H.I.T.I hasn't official permission.

@SakuraSa233

This comment has been minimized.

Show comment
Hide comment
@SakuraSa233

SakuraSa233 Jul 31, 2017

It seems that the app can't be found in Coolapk.I also hate this people very much.
What a cheerful news.THANS ,OP
And I found a lot of Coolapk Gays.

screenshot_20170731-131838

SakuraSa233 commented Jul 31, 2017

It seems that the app can't be found in Coolapk.I also hate this people very much.
What a cheerful news.THANS ,OP
And I found a lot of Coolapk Gays.

screenshot_20170731-131838

@Signum1

This comment has been minimized.

Show comment
Hide comment
@Signum1

Signum1 Jul 31, 2017

@nagadomi I thank you for waifu2x, a very useful tool. I just noticed the captcha and it is not a problem. Abuse of services can ruin it for all, so I'm glad you found a way to stop this without closing it down.

Signum1 commented Jul 31, 2017

@nagadomi I thank you for waifu2x, a very useful tool. I just noticed the captcha and it is not a problem. Abuse of services can ruin it for all, so I'm glad you found a way to stop this without closing it down.

@KatouMegumi-osu

This comment has been minimized.

Show comment
Hide comment
@KatouMegumi-osu

KatouMegumi-osu Jul 31, 2017

Just saying! Captcha is an awesome addition! Now I don't have to wait 8 minutes to process one picture.

KatouMegumi-osu commented Jul 31, 2017

Just saying! Captcha is an awesome addition! Now I don't have to wait 8 minutes to process one picture.

@18701651336

This comment has been minimized.

Show comment
Hide comment
@18701651336

18701651336 Jul 31, 2017

Just saying! Captcha is an awesome addition! Now I don't have to wait 8 minutes to process one picture.

18701651336 commented Jul 31, 2017

Just saying! Captcha is an awesome addition! Now I don't have to wait 8 minutes to process one picture.

@NARKOZ

This comment has been minimized.

Show comment
Hide comment
@NARKOZ

NARKOZ Jul 31, 2017

@nagadomi why not to introduce rate limiting instead of captcha?

You can allow only a certain number of requests per day from an IP, and I'm sure 10-20 requests per day will be sufficient for most users.

NARKOZ commented Jul 31, 2017

@nagadomi why not to introduce rate limiting instead of captcha?

You can allow only a certain number of requests per day from an IP, and I'm sure 10-20 requests per day will be sufficient for most users.

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Jul 31, 2017

Owner

@nagadomi why not to introduce rate limiting instead of captcha?

It has already activated. 10req/min.
Android app run on the client side, so it can not be regulated by IP rate limits. That app has lots of users.

Owner

nagadomi commented Jul 31, 2017

@nagadomi why not to introduce rate limiting instead of captcha?

It has already activated. 10req/min.
Android app run on the client side, so it can not be regulated by IP rate limits. That app has lots of users.

@KamillaPup

This comment has been minimized.

Show comment
Hide comment
@KamillaPup

KamillaPup Jul 31, 2017

I have noticed processing is much faster! Thank you. I installed the code on my Mac, but it is so slow! Pixiv servers are much better.

KamillaPup commented Jul 31, 2017

I have noticed processing is much faster! Thank you. I installed the code on my Mac, but it is so slow! Pixiv servers are much better.

@ycwei982

This comment has been minimized.

Show comment
Hide comment
@ycwei982

ycwei982 Aug 2, 2017

However, reCaptcha is not able to use in China Mainland, that means each time Chinese use waifu2x online demo, they have to use VPN in order to touch that I am not a robot, which makes painful

ycwei982 commented Aug 2, 2017

However, reCaptcha is not able to use in China Mainland, that means each time Chinese use waifu2x online demo, they have to use VPN in order to touch that I am not a robot, which makes painful

@bibop87

This comment has been minimized.

Show comment
Hide comment
@bibop87

bibop87 Aug 2, 2017

Hi guys, I understand why reCaptcha is needed, but can you make it so that it does not get complicated every time? Through the pictures 10 it starts to rage and offer to solve on 5 variants with road signs \ cars \ shop-windows, etc. For the text, sorry, google translate

bibop87 commented Aug 2, 2017

Hi guys, I understand why reCaptcha is needed, but can you make it so that it does not get complicated every time? Through the pictures 10 it starts to rage and offer to solve on 5 variants with road signs \ cars \ shop-windows, etc. For the text, sorry, google translate

@oniyakun

This comment has been minimized.

Show comment
Hide comment
@oniyakun

oniyakun Aug 2, 2017

I hate people who steal your API. I come from China and I think it's great for the verification code you mentioned, but I didn't see any verification code when I opened the website, and I can't use it. Is there any restriction on Chinese users?

oniyakun commented Aug 2, 2017

I hate people who steal your API. I come from China and I think it's great for the verification code you mentioned, but I didn't see any verification code when I opened the website, and I can't use it. Is there any restriction on Chinese users?

@ycwei982

This comment has been minimized.

Show comment
Hide comment
@ycwei982

ycwei982 Aug 2, 2017

oniya123, it is GFW’s fault, not the waifu2x devs. China blocks Google, including Google’s reCaptcha, so it is unavailable in China unless you use a VPN or other proxy tools.

ycwei982 commented Aug 2, 2017

oniya123, it is GFW’s fault, not the waifu2x devs. China blocks Google, including Google’s reCaptcha, so it is unavailable in China unless you use a VPN or other proxy tools.

@oniyakun

This comment has been minimized.

Show comment
Hide comment
@oniyakun

oniyakun Aug 2, 2017

@ycwei982 I got it. Thank you very much!

oniyakun commented Aug 2, 2017

@ycwei982 I got it. Thank you very much!

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Aug 3, 2017

Owner

OK, I will try to solve the problem that can not be accessed from China.

Owner

nagadomi commented Aug 3, 2017

OK, I will try to solve the problem that can not be accessed from China.

@SakuraSa233

This comment has been minimized.

Show comment
Hide comment
@SakuraSa233

SakuraSa233 Aug 3, 2017

Oh,that's a bad news.If I want to use it normally,that would be impossible.
So sad.

SakuraSa233 commented Aug 3, 2017

Oh,that's a bad news.If I want to use it normally,that would be impossible.
So sad.

@DestinoAzell

This comment has been minimized.

Show comment
Hide comment
@DestinoAzell

DestinoAzell Aug 3, 2017

OMG re-Chapcha is annoying.. I have hundred of images to be get upscaled.
yes I understand your reason but boy this is hard work. I really hope you could find a way to make it normal again
p:s GTFO waifu2x you useless CHINA trashcan who only thinks about money(specifically this bastard). You're making my work alot harder now with that reCAPTCHA thingy. This is why we can't have nice things. It's because of these selfish people that exist in this world.Fucking A man.Sigh

  • just ignore my rant, I just had a bad day -

DestinoAzell commented Aug 3, 2017

OMG re-Chapcha is annoying.. I have hundred of images to be get upscaled.
yes I understand your reason but boy this is hard work. I really hope you could find a way to make it normal again
p:s GTFO waifu2x you useless CHINA trashcan who only thinks about money(specifically this bastard). You're making my work alot harder now with that reCAPTCHA thingy. This is why we can't have nice things. It's because of these selfish people that exist in this world.Fucking A man.Sigh

  • just ignore my rant, I just had a bad day -
@ycwei982

This comment has been minimized.

Show comment
Hide comment
@ycwei982

ycwei982 Aug 3, 2017

There's a replica of reCaptcha in China called Geetest, actually you can do a little modifying on Chinese Simplified Page, change reCaptcha to Geetest or something else

For free version it only accept 400 requests in an hour, annoying but no more plan

ycwei982 commented Aug 3, 2017

There's a replica of reCaptcha in China called Geetest, actually you can do a little modifying on Chinese Simplified Page, change reCaptcha to Geetest or something else

For free version it only accept 400 requests in an hour, annoying but no more plan

@SerCom-KC

This comment has been minimized.

Show comment
Hide comment

SerCom-KC commented Aug 3, 2017

Replace https://www.google.com/recaptcha/api.js with https://www.recaptcha.net/recaptcha/api.js would solve the problem immediately.

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Aug 4, 2017

Owner

www.recaptcha.net's code accesses www.google.com and gstatic.com. I think that is the same result as www.google.com's code.

I tried the reverse proxy approach like Nginx 反代 Google Analytics 和 reCaptcha 实践, but it needed over 10 answers to pass recaptcha. Google detected a fraud 😞

Owner

nagadomi commented Aug 4, 2017

www.recaptcha.net's code accesses www.google.com and gstatic.com. I think that is the same result as www.google.com's code.

I tried the reverse proxy approach like Nginx 反代 Google Analytics 和 reCaptcha 实践, but it needed over 10 answers to pass recaptcha. Google detected a fraud 😞

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Aug 4, 2017

Owner

Geetest

I could not solve Geetest's captcha so I could not sign up.

Owner

nagadomi commented Aug 4, 2017

Geetest

I could not solve Geetest's captcha so I could not sign up.

@DestinoAzell

This comment has been minimized.

Show comment
Hide comment
@DestinoAzell

DestinoAzell Aug 4, 2017

Oh God is there a way to avoid re-Captcha ToT I have to answer alot of questions just to upscale A PICTURE. and I still have a lot to do. 30mins job has turn to hours of job. It's not good for my heart man. It's just torture. BTW is there any web that is better or the same as waifu2x? I'm tired.

DestinoAzell commented Aug 4, 2017

Oh God is there a way to avoid re-Captcha ToT I have to answer alot of questions just to upscale A PICTURE. and I still have a lot to do. 30mins job has turn to hours of job. It's not good for my heart man. It's just torture. BTW is there any web that is better or the same as waifu2x? I'm tired.

@SerCom-KC

This comment has been minimized.

Show comment
Hide comment
@SerCom-KC

SerCom-KC Aug 4, 2017

@nagadomi Use Chinese IP and that js would point to gstatic.cn & recaptcha.net instead of google.com (actually gstatic.com is also accessible in China now) so it shouldn't be a problem. Both domains have Chinese IP.

Here's an example of https://www.recaptcha.net/recaptcha/api.js

/* PLEASE DO NOT COPY AND PASTE THIS CODE. */(function() {if (!window['___grecaptcha_cfg']) { window['___grecaptcha_cfg'] = {}; };if (!window['___grecaptcha_cfg']['render']) { window['___grecaptcha_cfg']['render'] = 'onload'; };window['__recaptcha_api'] = 'https://www.recaptcha.net:443/recaptcha/';window['__google_recaptcha_client'] = true;var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;po.src = 'https://www.gstatic.cn/recaptcha/api2/r20170731114946/recaptcha__zh_cn.js'; var elem = document.querySelector('script[nonce]');var nonce = elem && (elem['nonce'] || elem.getAttribute('nonce'));if (nonce) { po.setAttribute('nonce', nonce); }var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();

SerCom-KC commented Aug 4, 2017

@nagadomi Use Chinese IP and that js would point to gstatic.cn & recaptcha.net instead of google.com (actually gstatic.com is also accessible in China now) so it shouldn't be a problem. Both domains have Chinese IP.

Here's an example of https://www.recaptcha.net/recaptcha/api.js

/* PLEASE DO NOT COPY AND PASTE THIS CODE. */(function() {if (!window['___grecaptcha_cfg']) { window['___grecaptcha_cfg'] = {}; };if (!window['___grecaptcha_cfg']['render']) { window['___grecaptcha_cfg']['render'] = 'onload'; };window['__recaptcha_api'] = 'https://www.recaptcha.net:443/recaptcha/';window['__google_recaptcha_client'] = true;var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;po.src = 'https://www.gstatic.cn/recaptcha/api2/r20170731114946/recaptcha__zh_cn.js'; var elem = document.querySelector('script[nonce]');var nonce = elem && (elem['nonce'] || elem.getAttribute('nonce'));if (nonce) { po.setAttribute('nonce', nonce); }var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();
@Signum1

This comment has been minimized.

Show comment
Hide comment
@Kugel-Blitz

This comment has been minimized.

Show comment
Hide comment
@Kugel-Blitz

Kugel-Blitz Aug 4, 2017

I guess Geetest is kind of confusing for non-Chinese users... Maybe consider adding a subdomain like cn.waifu2x.udp.jp and link it to Geetest? I could help you signup.

Though in my opinion anyone who uses waifu2x for legitimate reasons in China would use a VPN in the first place... At least most tech geek does...

Kugel-Blitz commented Aug 4, 2017

I guess Geetest is kind of confusing for non-Chinese users... Maybe consider adding a subdomain like cn.waifu2x.udp.jp and link it to Geetest? I could help you signup.

Though in my opinion anyone who uses waifu2x for legitimate reasons in China would use a VPN in the first place... At least most tech geek does...

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Aug 4, 2017

Owner

@SerCom-KC
I've changed API URL. Thanks.

If waifu2x.udp.jp's reCAPTCHA is accessible from Mainland China please give me a report.

Owner

nagadomi commented Aug 4, 2017

@SerCom-KC
I've changed API URL. Thanks.

If waifu2x.udp.jp's reCAPTCHA is accessible from Mainland China please give me a report.

@ycwei982

This comment has been minimized.

Show comment
Hide comment
@ycwei982

ycwei982 Aug 4, 2017

Able to access.

ycwei982 commented Aug 4, 2017

Able to access.

@fzq12345

This comment has been minimized.

Show comment
Hide comment
@fzq12345

fzq12345 Aug 4, 2017

I am from China, is a middle school student, I think waifu2x is a very good tool he can help me deal with some of the usual I can not handle the photos so that the original need for an hour to complete the picture modification is shortened to a few minutes, Stick tool. But recently did not know how, the page seems to prohibit the Chinese ip login, which brought me a lot of trouble.

fzq12345 commented Aug 4, 2017

I am from China, is a middle school student, I think waifu2x is a very good tool he can help me deal with some of the usual I can not handle the photos so that the original need for an hour to complete the picture modification is shortened to a few minutes, Stick tool. But recently did not know how, the page seems to prohibit the Chinese ip login, which brought me a lot of trouble.

@ycwei982

This comment has been minimized.

Show comment
Hide comment
@ycwei982

ycwei982 Aug 4, 2017

fzq12345, go to demo page, is able to access reCaptcha service now?

ycwei982 commented Aug 4, 2017

fzq12345, go to demo page, is able to access reCaptcha service now?

@luckydonald

This comment has been minimized.

Show comment
Hide comment
@luckydonald

luckydonald Aug 4, 2017

How about adding a watermark if the recaptcha was not filled out (the apps don't know that field), so make them aware of the original website they are using?

luckydonald commented Aug 4, 2017

How about adding a watermark if the recaptcha was not filled out (the apps don't know that field), so make them aware of the original website they are using?

@fzq12345

This comment has been minimized.

Show comment
Hide comment
@fzq12345

fzq12345 Aug 4, 2017

ycwei982 ,Can access, that is waifu2x download option did not respond.

fzq12345 commented Aug 4, 2017

ycwei982 ,Can access, that is waifu2x download option did not respond.

@Co2333

This comment has been minimized.

Show comment
Hide comment
@Co2333

Co2333 Aug 4, 2017

In fact, AI process require REALLY HIGH CPU and GPU performance that is expensive to build. The software website is a way to get it done easily via service computer that may include thousands video cards. Too much users may be a disaster to those computers. Also it is not support for you to make money.

Co2333 commented Aug 4, 2017

In fact, AI process require REALLY HIGH CPU and GPU performance that is expensive to build. The software website is a way to get it done easily via service computer that may include thousands video cards. Too much users may be a disaster to those computers. Also it is not support for you to make money.

@littlebear12

This comment has been minimized.

Show comment
Hide comment

littlebear12 commented Aug 6, 2017

ok

@TaihouKai

This comment has been minimized.

Show comment
Hide comment
@TaihouKai

TaihouKai Aug 6, 2017

Well, I fully support and understand your action... but reCap is blocked by The Great Firewall in China... :(

TaihouKai commented Aug 6, 2017

Well, I fully support and understand your action... but reCap is blocked by The Great Firewall in China... :(

@oniyakun

This comment has been minimized.

Show comment
Hide comment
@oniyakun

oniyakun Aug 6, 2017

I found a website similar to waifu2x
http://www.bigjpg.com/
I think is very weird.
If I say something wrong please don't hit me_(:3」∠)_

oniyakun commented Aug 6, 2017

I found a website similar to waifu2x
http://www.bigjpg.com/
I think is very weird.
If I say something wrong please don't hit me_(:3」∠)_

@MarkussLugia

This comment has been minimized.

Show comment
Hide comment
@MarkussLugia

MarkussLugia Aug 6, 2017

@oniya123 waifu2x uses MIT licence and is free for any commercial use.

MarkussLugia commented Aug 6, 2017

@oniya123 waifu2x uses MIT licence and is free for any commercial use.

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Aug 6, 2017

Owner

@TaihouKai

Well, I fully support and understand your action... but reCap is blocked by The Great Firewall in China... :(

I think it has already solved.
Is it wrong? @ycwei982 and @fzq12345 reported to me that they can access waifu2x.udp.jp.

Owner

nagadomi commented Aug 6, 2017

@TaihouKai

Well, I fully support and understand your action... but reCap is blocked by The Great Firewall in China... :(

I think it has already solved.
Is it wrong? @ycwei982 and @fzq12345 reported to me that they can access waifu2x.udp.jp.

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Aug 6, 2017

Owner

waifu2x uses MIT licence and is free for any commercial use.

Note that waifu2x is licensed under MIT License but Hatsune Miku image is licensed under CC BY-NC (Attribution-NonCommercial). See NOTICE.

Owner

nagadomi commented Aug 6, 2017

waifu2x uses MIT licence and is free for any commercial use.

Note that waifu2x is licensed under MIT License but Hatsune Miku image is licensed under CC BY-NC (Attribution-NonCommercial). See NOTICE.

@ycwei982

This comment has been minimized.

Show comment
Hide comment
@ycwei982

ycwei982 Aug 6, 2017

It is working on 2 cellular networks: (sorry the picture is nuked without any reason, but it works on China Telecom and China Unicom, I don’t have a China Mobile SIM)

pic

ycwei982 commented Aug 6, 2017

It is working on 2 cellular networks: (sorry the picture is nuked without any reason, but it works on China Telecom and China Unicom, I don’t have a China Mobile SIM)

pic

@Co2333

This comment has been minimized.

Show comment
Hide comment
@Co2333

Co2333 Aug 7, 2017

China’s Great Fire Wall 2333333333333

Co2333 commented Aug 7, 2017

China’s Great Fire Wall 2333333333333

@Co2333

This comment has been minimized.

Show comment
Hide comment
@Co2333

Co2333 Aug 7, 2017

It works on China Mobile.

Co2333 commented Aug 7, 2017

It works on China Mobile.

@fzq12345

This comment has been minimized.

Show comment
Hide comment
@fzq12345

fzq12345 Aug 9, 2017

@nagadomi Can be accessed and used normally

fzq12345 commented Aug 9, 2017

@nagadomi Can be accessed and used normally

@Co2333

This comment has been minimized.

Show comment
Hide comment
@Co2333

Co2333 Aug 9, 2017

17.8.8,23:30 it says “internal server error.”

Co2333 commented Aug 9, 2017

17.8.8,23:30 it says “internal server error.”

@Jaynator495

This comment has been minimized.

Show comment
Hide comment
@Jaynator495

Jaynator495 Aug 11, 2017

Here's a possible solution, Instead of using the API for the web based requests, Use the same page, then make the API have a API key, and if someone wants a 3rd party app or something like that, they can send you a inquiry about getting a API key. Just a thought.

Jaynator495 commented Aug 11, 2017

Here's a possible solution, Instead of using the API for the web based requests, Use the same page, then make the API have a API key, and if someone wants a 3rd party app or something like that, they can send you a inquiry about getting a API key. Just a thought.

@Co2333

This comment has been minimized.

Show comment
Hide comment
@Co2333

Co2333 Aug 11, 2017

They may use it like AutoFill on safari. Key is not enough.

Co2333 commented Aug 11, 2017

They may use it like AutoFill on safari. Key is not enough.

@NyanMeow

This comment has been minimized.

Show comment
Hide comment
@NyanMeow

NyanMeow Aug 15, 2017

丢人丢到国外去了..

NyanMeow commented Aug 15, 2017

丢人丢到国外去了..

@ycwei982

This comment has been minimized.

Show comment
Hide comment
@ycwei982

ycwei982 Aug 15, 2017

maybe paid API keys in the future can solve this?

ycwei982 commented Aug 15, 2017

maybe paid API keys in the future can solve this?

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Aug 15, 2017

Owner

I won't provide paid API, but it is possible for someone to do it.

Owner

nagadomi commented Aug 15, 2017

I won't provide paid API, but it is possible for someone to do it.

@cia48621793

This comment has been minimized.

Show comment
Hide comment
@cia48621793

cia48621793 Aug 16, 2017

This is the reason you the author should ban all incoming requests from China for the demo server: They like to ABUSE public services and would CIRCUM all the restrictions placed in front of them no matter what. For worse, they like to accuse the others why bother giving a fuck, criticising that it would be a huge waste if all those public services were left unused, they say they are doing it for the greater good, they see themselves as a fucking messiah, even if it means monetizing from services that comes for free to everybody, that's why it is disgusting to me: they defended their acts like it was rightful, while still being a bandit and a thug.

As a Chinese myself, I'm sorry of what my fellow countrymen did to waifu2x and pixiv.

cia48621793 commented Aug 16, 2017

This is the reason you the author should ban all incoming requests from China for the demo server: They like to ABUSE public services and would CIRCUM all the restrictions placed in front of them no matter what. For worse, they like to accuse the others why bother giving a fuck, criticising that it would be a huge waste if all those public services were left unused, they say they are doing it for the greater good, they see themselves as a fucking messiah, even if it means monetizing from services that comes for free to everybody, that's why it is disgusting to me: they defended their acts like it was rightful, while still being a bandit and a thug.

As a Chinese myself, I'm sorry of what my fellow countrymen did to waifu2x and pixiv.

@SCLeoX

This comment has been minimized.

Show comment
Hide comment
@SCLeoX

SCLeoX Aug 24, 2017

@cia48621793 Yes, of course! As you said, every Chinese person is despicable. Their behaviors are totally caused by the fact that they are born in China. No matter what they do, they were, are, and will continue to be contemptible. Does that really sounds right?

In your argument you are claiming those thieves think they are messiah, but in fact, it sounds like you
are claiming that yourself is messiah. It seems that you totally understand every single person in China and able to criticize all Chinese people just because one of them did a shameful thing. But you are wrong, you know nothing.

It is certain that this single developer's behavior it is totally unacceptable but how did you come to the conclusion that all Chinese people will do so? If your logic works, then the existence of any prostitute would prove that your mother is prostitute.

It is people like you, who love to slander their countrymen, made foreign people to think Chinese people are generally immoral.

People who should be condemned do exist in China but they exist not because they are Chinese. Some people just born to be selfish. These bad people are scattered in the world. They live not only in China, but also in America, in Canada, in Australia, or in any country you can name of. The difference is that when a American person who live in China did something terrible, you will say it is because this American person lives in a bad environment while if some Chinese person did something awful in America, you will claim it is because this person is born in China. It is clear that the reason for this phenomenon to happen is that the spectator is biased. But sadly, this spectator himself is Chinese.

最后引用一下上面那个人的一句话:像你这种人,才是丢人丢到国外去了..

SCLeoX commented Aug 24, 2017

@cia48621793 Yes, of course! As you said, every Chinese person is despicable. Their behaviors are totally caused by the fact that they are born in China. No matter what they do, they were, are, and will continue to be contemptible. Does that really sounds right?

In your argument you are claiming those thieves think they are messiah, but in fact, it sounds like you
are claiming that yourself is messiah. It seems that you totally understand every single person in China and able to criticize all Chinese people just because one of them did a shameful thing. But you are wrong, you know nothing.

It is certain that this single developer's behavior it is totally unacceptable but how did you come to the conclusion that all Chinese people will do so? If your logic works, then the existence of any prostitute would prove that your mother is prostitute.

It is people like you, who love to slander their countrymen, made foreign people to think Chinese people are generally immoral.

People who should be condemned do exist in China but they exist not because they are Chinese. Some people just born to be selfish. These bad people are scattered in the world. They live not only in China, but also in America, in Canada, in Australia, or in any country you can name of. The difference is that when a American person who live in China did something terrible, you will say it is because this American person lives in a bad environment while if some Chinese person did something awful in America, you will claim it is because this person is born in China. It is clear that the reason for this phenomenon to happen is that the spectator is biased. But sadly, this spectator himself is Chinese.

最后引用一下上面那个人的一句话:像你这种人,才是丢人丢到国外去了..

@nagadomi

This comment has been minimized.

Show comment
Hide comment
@nagadomi

nagadomi Aug 25, 2017

Owner

I will never block access from a specific area collectively, don't worry about it.

Owner

nagadomi commented Aug 25, 2017

I will never block access from a specific area collectively, don't worry about it.

@sanscriptum sanscriptum referenced this issue Aug 29, 2017

Closed

Plugin's dead #1

@nagadomi nagadomi referenced this issue Sep 2, 2017

Closed

API? #205

@NatoBoram

This comment has been minimized.

Show comment
Hide comment
@NatoBoram

NatoBoram Sep 3, 2017

I agree that you should use ReCaptcha to prevent abuse. However, maybe you can try the Invisible ReCaptcha?

NatoBoram commented Sep 3, 2017

I agree that you should use ReCaptcha to prevent abuse. However, maybe you can try the Invisible ReCaptcha?

@NekoTony

This comment has been minimized.

Show comment
Hide comment
@NekoTony

NekoTony Sep 24, 2017

What's the api details?

NekoTony commented Sep 24, 2017

What's the api details?

@LuaTenshi

This comment has been minimized.

Show comment
Hide comment
@LuaTenshi

LuaTenshi Sep 27, 2017

Can we have the ReCaptcha come up initially then save a limited time session so that we don't have to enter the captcha for every single image?

Also how about API Keys?

LuaTenshi commented Sep 27, 2017

Can we have the ReCaptcha come up initially then save a limited time session so that we don't have to enter the captcha for every single image?

Also how about API Keys?

@Britey

This comment has been minimized.

Show comment
Hide comment
@Britey

Britey Oct 3, 2017

My reCAPTCHA somehow works fine with out a vpn inside of china, but i use the caffe offline version anyway.

Britey commented Oct 3, 2017

My reCAPTCHA somehow works fine with out a vpn inside of china, but i use the caffe offline version anyway.

NARKOZ added a commit to NARKOZ/waifu2x that referenced this issue Oct 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment