Hey Bruce, Dave, and the rest of the ChatScript team! I hope things are going well with you all! I wanted to let you know that you now have officially a new WIP convert to ChatScript. It’s been a number of years since I last looked at ChatScript, and what wonderful enhancements you have made…Bravo! I have been wanting to fully localize and enhance my app Back Talk, and ChatScript appears to now have everything I need to accomplish what I need. I have it pretty much running fully on my server now, but I do have a few questions that I hope you don’t mind me sending your way. One feature I can’t seem to get working right is my code to scrape the Wiki API. I’m using the proper “tcpopen(GET” code, but Wiki redirects the api query causing the tcpopen code to fail with an “Tcpopen- HTTP ack code bad 301 T”
Let’s say I want to hit:
en.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&explaintext;&redirects;=true&exintro;&titles;=robots
but the API redirects to:
https://en.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&explaintext;&redirects;==true&exintro;&titles;==robots
How do I open the https result to avoid the 301 redirect error? (and note that you need to remove the semi-colons the forum is adding to the links above)
Thanks for any/all help as I make this plunge!