turbolapp 5 Posted March 3, 2010 Report Share Posted March 3, 2010 For some stupid reason, Yahoo Explore likes to add random <BR>'s in their results and it's screwing up mine. Here's what I'm talking about: http://img169.imageshack.us/img169/6318/ubot1.png Here are my results: http://img402.imageshack.us/img402/2479/ubot2.png Any suggestions on how to remove these? Quote Link to post Share on other sites
Pete 121 Posted March 3, 2010 Report Share Posted March 3, 2010 Save to fileText constantsreplace Is one way but there must be a html remover some where Quote Link to post Share on other sites
crazyflx 22 Posted March 3, 2010 Report Share Posted March 3, 2010 Here, give this a shot: http://www.megaupload.com/?d=58FG93A1 (download link to the compiled bot). Select the .txt file that contains your broken file (the one from the picture you attached above) as the input file. Then hit play. It will save "output.txt" to the same folder you're running the compiled bot from. If it works for you, I'll upload the .uBot file so you can see how it works. Quote Link to post Share on other sites
turbolapp 5 Posted March 4, 2010 Author Report Share Posted March 4, 2010 Here, give this a shot: http://www.megaupload.com/?d=58FG93A1 (download link to the compiled bot). Select the .txt file that contains your broken file (the one from the picture you attached above) as the input file. Then hit play. It will save "output.txt" to the same folder you're running the compiled bot from. If it works for you, I'll upload the .uBot file so you can see how it works. Thanks for looking at it, crazy. I tried your bot and the result was the same, though. I'll attach a page for you to run through your bot if you would like? (first one is the one I started with the last one is the output when run through your bot)yahooexplorerhref.txtoutput file.txt Quote Link to post Share on other sites
crazyflx 22 Posted March 4, 2010 Report Share Posted March 4, 2010 Alright, it was my fault. I didn't understand the problem completely. I've uploaded a fix for you. I couldn't do it as an "input/ouput" type thing and just have it saving directly from scraped data (you'll understand when you run it). Just go ahead and open the bot, select a blank .txt file in the UI, then run the bot. It will save the results to the selected file. Enjoy!remove BR.ubot Quote Link to post Share on other sites
crazyflx 22 Posted March 4, 2010 Report Share Posted March 4, 2010 I noticed that last one I uploaded would occasionally throw an error. Here is one that doesn't.remove BR.ubot Quote Link to post Share on other sites
turbolapp 5 Posted March 5, 2010 Author Report Share Posted March 5, 2010 You're awesome. I'll try it out a little later today and report back. Quote Link to post Share on other sites
crazyflx 22 Posted March 5, 2010 Report Share Posted March 5, 2010 No problem. Before you run it though remove the following node first. http://img144.imageshack.us/img144/4947/node.jpg Quote Link to post Share on other sites
crazyflx 22 Posted March 5, 2010 Report Share Posted March 5, 2010 I didn't realize I uploaded it with that node in it. That was a node I added while testing it to make sure it was working, but it is an unnecessary one (it was kind of like a "debug" node). 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.