Giter Site home page Giter Site logo

403 on user page about proxitok HOT 5 CLOSED

pablouser1 avatar pablouser1 commented on September 9, 2024
403 on user page

from proxitok.

Comments (5)

ligix avatar ligix commented on September 9, 2024

Unrelated but the redirector pattern looks wrong (?).

https://vm.tiktok.com/ZMLja28XQ/ gets redirected to https://proxitok.herokuapp.com/ZMLja28XQ/ which is a 404.
It should be https://proxitok.herokuapp.com/@placeholder/video/ZMLja28XQ instead.

from proxitok.

pablouser1 avatar pablouser1 commented on September 9, 2024

The user page shows 403 instead of something

Example: https://proxitok.herokuapp.com/@roro.cat

That is because the official instance is being rate limited by TikTok. The only "fix" to this is using another ProxiTok instance or waiting some hours. I also added a robots.txt to the project, almost all of the requests made to the instance were just bots.

Unrelated but the redirector pattern looks wrong (?).

https://vm.tiktok.com/ZMLja28XQ/ gets redirected to https://proxitok.herokuapp.com/ZMLja28XQ/ which is a 404. It should be https://proxitok.herokuapp.com/@placeholder/video/ZMLja28XQ instead.

Probably because Include pattern: (.*//.*)(tiktok.com)(.*) redirects all subdomains to proxitok.herokuapp.com, changing it to only www would do the trick. You would have to make at least 1 connection to the TikTok servers though. As far as I'm aware, Libredirect also uses this method.

from proxitok.

ligix avatar ligix commented on September 9, 2024

You would have to make at least 1 connection to the TikTok servers though

I see. Multiple patterns might be needed then

almost all of the requests made to the instance were just bots

Maybe adding support for http auth might be a good idea (?) You could just use a as both user and password to block all bots (mainly for heroku, with a reverse proxy adding it is simple)

from proxitok.

pablouser1 avatar pablouser1 commented on September 9, 2024

Maybe adding support for http auth might be a good idea (?) You could just use a as both user and password to block all bots (mainly for heroku, with a reverse proxy adding it is simple)

The crawlers that were using the instance respect robots.txt so I don't think this is needed, at least for now

from proxitok.

pablouser1 avatar pablouser1 commented on September 9, 2024

I'm closing this issue for now... It looks like TikTok doesn't return a 403 anymore when the rate limit is triggered

from proxitok.

Related Issues (20)

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.