imed 0 Posted September 2, 2011 Report Share Posted September 2, 2011 I'm working on my first bot, so please bear with me. The bot is supposed to export and download orders from an Ecommerce store in XML format. I've gotten to the point where I can input the range of order numbers and open up the XML file in the browser window, but I can't figure out how to download it. Think of it like an XML sitemap with a dynamically generated URL. I want to be able to download the XML file into a folder on my desktop. On a separate note, I've seen a lot of references in the forum to Send Keys. It seems like they would have made the process of building this bot much easier, but I wasn't able to find any reference to them in version 4. Are they gone? Thanks! imed Quote Link to post Share on other sites
Praney Behl 314 Posted September 2, 2011 Report Share Posted September 2, 2011 Hi imed, Welcome to Ubot, Yes Ubot V3 and V4 have a few dissimilarities. Although V4 has brought much powerful features to enable users to go beyond the capabilities of V3. To what I understand, what you seek is downloading the xml file to disk. This can by scraping and storing the link to that file on your webpage, and using the "download file" command pointing to a location on your disk to save it. You can refer to scraping tutorials at : http://ubotstudio.com/tutorials.aspx Although I am not very sure if the "download command in V4 is working properly right now, but this can surely be done in V3.5 Hope it helps. Praney Quote Link to post Share on other sites
imed 0 Posted September 3, 2011 Author Report Share Posted September 3, 2011 I'm still having trouble figuring this out. Since the contents of the XML file that appear on the page is all text, there doesn't seem to be any Element to scrape. Is there a way to use the wildcard function to simply copy everything that exists on the page? Quote Link to post Share on other sites
Praney Behl 314 Posted September 3, 2011 Report Share Posted September 3, 2011 Do you have a link I can have a look? If you don't want to post public you can PM me. Quote Link to post Share on other sites
imed 0 Posted September 3, 2011 Author Report Share Posted September 3, 2011 Do you have a link I can have a look? If you don't want to post public you can PM me. I wish I could, but it would require me to give you administrative access to the backend of an ecommerce store. It's basically just a page full of text. The url is like this: https://us-dc1-edit.store.yahoo.com/RT/ORDERMGR.storename/08705159458c/OrderList.xml The characters "08705159458c" are dynamically generated, so the url is different each time. Quote Link to post Share on other sites
Praney Behl 314 Posted September 3, 2011 Report Share Posted September 3, 2011 YOu can use : https://us-dc1-edit.store.yahoo.com/RT/ORDERMGR.storename/*/OrderList.xmland choose wildcards, and that should scrape the current url. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.