Comments (10)
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.
Thanks for reporting. Feel free to further analyze this and propose corresponding fixes.
from pycaching.
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.
refer to c:geo's API fix cgeo/cgeo@576416a
from pycaching.
do you have an idea when this can be fixed?
from pycaching.
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.
sorry, I have no idea how to fix any of this
from pycaching.
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.
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.
using “id” as “name” seemed to make the API log request invalid
from pycaching.
Related Issues (20)
- pycaching.cache.Cache._from_print_page not working with non-English languages HOT 1
- get_cache(guid=) raising page load error HOT 1
- No attribute for getting the name of a cache HOT 1
- I'm not sure how to translate a cache.Type value into a str. HOT 1
- Access Geocaching Messaging Feature HOT 1
- What type does cache.load_logbook() return and how do I turn it into a dict? HOT 3
- No current way to get the raw HTML cache description HOT 5
- Get all the images from a cache's image gallery
- Delete or Edit Log Posts HOT 1
- pycaching.geocaching.search() function not working properly HOT 13
- advanced_search() returning unexpected results when searching for a string HOT 9
- Document release process
- Enable squash merging? HOT 1
- Unexpected results when searching caches from a point HOT 5
- Docs build is failing HOT 5
- Archive Log Type Can Be 5 or 6 HOT 1
- Cannot process caches with unescaped `&#` in the cache name HOT 5
- Incorrect Point.from_string() parsing
- search always brings me to south america HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycaching.