Git Product home page Git Product logo

Comments (10)

ella-TAS avatar ella-TAS commented on August 15, 2024

Adding to this, the following functions within trackable.py are not working currently:
– retrieving valid log types
– retrieving the user date format
– retrieving “hidden inputs” on the log page

from pycaching.

FriedrichFroebel avatar FriedrichFroebel commented on August 15, 2024

Thanks for reporting. Feel free to further analyze this and propose corresponding fixes.

from pycaching.

ella-TAS avatar ella-TAS commented on August 15, 2024

Yes, I have noticed:
– valid log types are now stored towards the end of the page as "logTypes", though I don't know how to retrieve them. I can probably fix this
– the user date format isn't present in any way. it could be fixed by looking at present time stamps, but I don't have other formats to test
– getting hidden inputs fails because one of the tags doesn't have a "name" key but an "id". using the id as the name also did not validate the api request. I'm not sure what to do with this

from pycaching.

ella-TAS avatar ella-TAS commented on August 15, 2024

refer to c:geo's API fix cgeo/cgeo@576416a

from pycaching.

ella-TAS avatar ella-TAS commented on August 15, 2024

do you have an idea when this can be fixed?

from pycaching.

FriedrichFroebel avatar FriedrichFroebel commented on August 15, 2024

Feel free to submit a corresponding PR with appropriate fixes as you already did some analysis - I will be glad to review and merge it.

from pycaching.

ella-TAS avatar ella-TAS commented on August 15, 2024

sorry, I have no idea how to fix any of this

from pycaching.

DarkOutcast6 avatar DarkOutcast6 commented on August 15, 2024

Hello! I could try to fix this, though I am not entirely sure. What exactly goes wrong while trying to post a log? Is it still possible to view logs? Is there an error when posting a log?

from pycaching.

FriedrichFroebel avatar FriedrichFroebel commented on August 15, 2024

sorry, I have no idea how to fix any of this

In #226 (comment), you already mentioned some possible solutions. Please be more specific about the actual issues you are encountering and where your parsing fails. pycaching uses BeautifulSoup for parsing the HTML of the page - for the first and third one, you probably have to just update the corresponding selectors - whether querying for a name or ID attribute should be no real difference for example.

from pycaching.

ella-TAS avatar ella-TAS commented on August 15, 2024

using “id” as “name” seemed to make the API log request invalid

from pycaching.

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.