delphi911 0 Posted December 29, 2010 Report Share Posted December 29, 2010 This question may seem to be very simple but I have wasted my whole day without a solution. I made a simple bot which posts an article as a new post (wordpress). Everything works as it should be. But after post is completed, I want to take the URL of the new post. I tried to get it from viewpost link (when you finished posting, a new line added as view post). Below is the html code of that section <P sizcache="20" sizset="48">Post published. <A id=postlink href="http://*.*.com/the-name-of-my-new-page/">View post</A></P></DIV> Please see the picture of code snippet, and I wait for your suggestions. Quote Link to post Share on other sites
Abs* 12 Posted December 29, 2010 Report Share Posted December 29, 2010 Hi - Please see the image below I think your trying to navigate to the post - instead scrape the url like in the image Quote Link to post Share on other sites
delphi911 0 Posted December 29, 2010 Author Report Share Posted December 29, 2010 Your code worked. But still, I do not understand why mine did not work. Anyway, thanks. Quote Link to post Share on other sites
Abs* 12 Posted December 29, 2010 Report Share Posted December 29, 2010 HI - I think you have coded to show the url in your stat monitor and not save to file thanks Quote Link to post Share on other sites
delphi911 0 Posted December 30, 2010 Author Report Share Posted December 30, 2010 No. My aim is to store links so I can energize them (with backlink energizer). Quote Link to post Share on other sites
Abs* 12 Posted December 30, 2010 Report Share Posted December 30, 2010 Hi - you should be fine with the example I gave If however you are scheduling tasks then you will need to choose by attribute - inner text "preview post" then scrape the url you should be good with the code noted in the image though 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.