Heiko 2 Posted August 6, 2017 Report Share Posted August 6, 2017 Hello. I made a bot that uploads a image to an imagehoster and scrapes the element that shows the url after that. Then the bot pastes the URL on a different website so that it gets posted there as well (like with a pinsite). Now i have the following problem. In the uBot itself the program works great. It also does work when compiled on my Windows 10 64 Bit (16gb ram) just fine. But for some reason when i want to use the program on my Server (Windows 2008 R2 (32GB Ram)) it doesn't scrape the url. Everything else works. The bot just doesn't scrape the url, and i've tried it in several ways. I am using the "chrome 21" browser as the "chrome 47" always crashes on me (also only in the Windows R2 Server) (Error message: UCefSharpBrowser has stopped working) - I've also messaged the support, but no luck.. Is there anyone that has an idea what i could do? thanks in advance best regards Quote Link to post Share on other sites
HelloInsomnia 1103 Posted August 6, 2017 Report Share Posted August 6, 2017 The code in the website may be different on your server, I'd have a look in a browser there and make sure the element you are trying to scrape is the same (id, class, etc). Be especially wary of offsets. It could be that your server is in a different location which could cause the website to change, there are other factors as well but that one stands out. Quote Link to post Share on other sites
Heiko 2 Posted August 7, 2017 Author Report Share Posted August 7, 2017 Hi there, Thanks @HelloInsomnia - You were absolutely right. The code was different for the server so i had to play around with the wildcard settings in the scrape attribute. It works now! Much thanks! best regards 1 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.