cob007 19 Posted February 4, 2018 Report Share Posted February 4, 2018 Hello, I am scraping titles and descriptions from youtube using a multithreaded bot using exbrowser, now all the info is being added to the list, however i want to update the datagrid table as the information is being scraped, is it possible to update the datagrid table rows as the data is being scraped instead of having the user wait till the entire scraping is completed and wait till final output is ready? Any small example for this wud be appreciated Quote Link to post Share on other sites
joeoram 0 Posted February 4, 2018 Report Share Posted February 4, 2018 Isn't it simply adding the item to a list and then adding that list to a table after scraping each time?I'm not sure, very new to UBOT but I think that's it since it works for me Quote Link to post Share on other sites
cob007 19 Posted February 4, 2018 Author Report Share Posted February 4, 2018 Isn't it simply adding the item to a list and then adding that list to a table after scraping each time?I'm not sure, very new to UBOT but I think that's it since it works for meIt has to execute inside a thread since it is multi-threaded Quote Link to post Share on other sites
HelloInsomnia 1103 Posted February 4, 2018 Report Share Posted February 4, 2018 You could do it, I would use a lock since tables are not really thread safe. You can use Heopas plugin which has a thread lock and then in the lock update the table and do a table to datagrid. 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.