Jump to content



juno

Member Since 05 Oct 2017
Offline Last Active Dec 03 2018 07:09 PM
-----

Topics I've Started

Any Special Handling Of Https?

28 November 2018 - 07:14 PM

I've been scraping a site for probably 2 years now and I just noticed today the URL changed to https. Is there something they might be doing to keep my bot from navigating to that url? When I call it the built in browser stays on the default Ubot page. It refuses to load the html.  This is happening in uncompiled mode.

 

I'm running the latest version 6.04 Developer Edition


Compiled Bot Will Not Launch On Windows 2016 Server

28 November 2018 - 05:48 AM

Using an AWS EC2 image (Windows Server 2016) to run a compiled bot (most current version of Ubot) and the GUI never comes up despite running as administrator or changing the executable compatibility settings. When you look in running programs it shows using 0% cpu and "Loading..." (screenshot attached).

 

When checking the Windows event logs it shows event ID: 1002 Source: Application hang. It also states "The program my_compiled_bot.exe version 4.0.0.0 stopped interacting with Windows and was closed."

 

I can launch a lot of these and the task manager will show each one of these as a list as they all keep hanging.

 

Any ideas how to troubleshoot this?  

 

Attached File  ubot_loading.png   5.71KB   1 downloads


Explode Table Rows For Sql Insert

27 January 2018 - 09:08 PM

I have scraped an html table with as many as 100 rows with 5 columns. Practically everything I have been trying treats the entire table as one variable. For instance, I'm able to write the table to a file.

 

What I want to be able to do is loop through each row, one by one and explode out the row to 5 variables: cell1, cell2, cell3, cell4, cell5.

 

I then want to use these (while still remaining in the loop for this row) in a SQL query:

INSERT INTO db_table (col1, col2, col3, col4, col5) VALUES ('cell1', 'cell2', 'cell3', 'cell4', 'cell5')

 

Seems very simple but I can't quite make this happen in Ubot. How do you break up (or explode) table rows out into variables like that?

 

Thanks.