Git Product home page Git Product logo

Comments (6)

dermow avatar dermow commented on July 28, 2024 1

Ah - noticed that I did not post the tool itself, if you are interested in:
https://exile-tools.com/gemplanner

from pasteofexile.

Dav1dde avatar Dav1dde commented on July 28, 2024

Hey, of course. Can you add a some kind of identifiable user agent, e.g. the format described here: https://github.com/Dav1dde/pasteofexile?tab=readme-ov-file#public-api

And then I need the IP to check the logs/exempt it from the firewall.

from pasteofexile.

Dav1dde avatar Dav1dde commented on July 28, 2024

I just saw you're using url = f"https://pobb.in/pob/{code}" please use the non pob API with the /raw suffix, e.g. https://pobb.in/<code>/raw or https://pobb.in/u/<user>/<code>/raw basically just <url>/raw.

from pasteofexile.

dermow avatar dermow commented on July 28, 2024

Thanks for your fast reply!
I implemented the new url and added the user agent:

def get_from_pobb(self, code):
  url = f"https://pobb.in/{code}/raw"
  headers = {'User-Agent': 'exile-tools-gemplanner/1.0 (Contact: [email protected])'}
  resp = requests.get(url, headers=headers)
  return resp.text

Tool is hosted on a server at netcup.de.
Source IP: 45.9.62.141

Thanks!

from pasteofexile.

Dav1dde avatar Dav1dde commented on July 28, 2024

Sorry didn't see your reply before bed, should be all good now!

from pasteofexile.

dermow avatar dermow commented on July 28, 2024

Integration is working again. Thanks a lot!

from pasteofexile.

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.