thanks in advance
Building a bot (so-to-speak).
Moderator: General Moderators
-
mikeashfield
- Forum Contributor
- Posts: 159
- Joined: Sat Oct 22, 2011 10:50 am
Building a bot (so-to-speak).
Is it possible to create a one-time application that would loop through all numbers between 100,000 and 999,999 while sending a JSON request as a URL (not sure how JSON works) www.mydomain.com/16835057.json and if there is data in the response, such as operational_building, operational_floor ect and store that information in a MySQL DB (some fields are returned like this if not needed (eg, not US): operational_state: "",
thanks in advance
thanks in advance
- novice4eva
- Forum Contributor
- Posts: 327
- Joined: Thu Mar 29, 2007 3:48 am
- Location: Nepal
Re: Building a bot (so-to-speak).
I think you can use ajax in loop but then it will create lots of requests and some of them will be denied for sure(probably can try synchronous request). Other would be to make a curl request.
Regards,
Dee
Regards,
Dee