-
Notifications
You must be signed in to change notification settings - Fork 59
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
Dog adoption category is not working #97
Comments
Could you post the Google Maps API error message? |
@jackm can't replicate right now. Probably because currently, the number of API calls is under some threshold. Still, with the newest version the radio is not being handled correctly (it's asking me a question for every choice of the radio button and I can't put 0 because 0 restarts it) and even if I fix this manually in the YML file I still get the same error about \xe7 character. |
The The actual problem is where the In the mean time, you could manually implement the changes in PR #98 to fix the encoding problem, and then open the dump file in your browser to look at what errors the Kijiji site shows. |
@jackm what about the part where the script handles the radio buttons incorrectly, asking a separate question for each bullet point? I'm not sure, maybe I am not fixing the YML file correctly. I tried to post in that category manually and look at what's being submitted, what I have in YML seems fine but I'm not totally sure... |
That is likely an issue with how the The |
For your particular case when posting an ad for the "Dogs & Puppies for Rehoming" category, you should add the following additional key to the yaml ad file.
|
@jackm no, if you look at my original post in this thread I already had this, that was the first thing I did. but I did get this working. I don't know exactly how because I tried a number of things at once. I think it was probably terms and conditions checkbox
how I fixed it is I did it manually and I looked at what Chrome was submitting to the server and I just made the YML file parameters sort of resemble that submittion |
Yes you're right, I didn't see that you had that field in there before. What you did by looking at the HTTP POST request for the parameter names is exactly what I end up doing when I have to post an ad that requires some additional unique parameters. The |
PostalLat: '43.7559808' PostalLng: '-79.41077949999999' categoryId: '126' locationLevel0: 1700272 postAdForm.adType: OFFER postAdForm.addressCity: Toronto postAdForm.addressPostalCode: M2N5V7 postAdForm.addressProvince: 'ON' postAdForm.attributeMap[birthdate]: "July 1, 2017" postAdForm.attributeMap[petofferedby_s]: shelter postAdForm.city: Toronto postAdForm.description: "Hi, Im Cookie and I need a new home" postAdForm.geocodeLat: '43.7559808' postAdForm.geocodeLng: '-79.41077949999999' postAdForm.locationId: 1700273 postAdForm.postalCode: M2N5V7 postAdForm.priceType: GIVE_AWAY postAdForm.province: 'ON' postAdForm.title: Dog for adoption submitType: saveAndCheckout topAdDuration: '7' username: [email protected] password: 'psw123'
When I try to post I get an error
Then when I try to generate an yml using the most recent version I can't create a yml at all, it tells me that Google Maps API needs a API key. So I cut out the code completely but I am still getting the same issue. I also noticed that the actual form doe not have a give away option so I tried replacing the price with 1 dollar but the error is still the same.
Can someone please help me create a valid YML file for dog giveaway category? I can edit the values manually.
The text was updated successfully, but these errors were encountered: