1. Take a look at our script references and resources here. Make sure you are using all commands, functions and features as instructed.
2. Please isolate the issue. If you think the issue is in a certain command, feature or function, try to isolate the issue to the commands they are affecting.
Go into your tools menu and check the show errors option. Use the step feature and find where the error occurs exactly. Isolate that code that is causing the issue.
3. Please send a small, concise script that reproduces the issue. The sooner we can reproduce the bug, the sooner we can have it fixed for you.
Please refrain from sending large scripts without following the above steps.
The sooner we can verify, isolate and reproduce the bug, the sooner we can have it fixed for you.
Thanks so much for your cooperation!
]]>I search for it, and now I would like to choose only the ones I want on the page. So I do not want links that start with:
http://bing.com/etc/etc/etc
I just want the search results for websites on Home Made candy and we would like to get this accomplished with regular expression. First, choose a link you would like to scrape.
Choose the link by attribute.
A parameter window will appear. Choose the link by href and select the Regular Expressions option on the far right corner of the parameter window.
Now you will delete everything after HTTP: in the second column of the parameter window. You will then place your regular expression code in that field.
The code I built for choosing the links I want is the follow:
Now let's break the code apart a bit just so it makes sense:
http: is what the link will start with
http: [^0-9]{2} now means we are looking for two non digit items after the http: So this could be two any of these (./-+ etc) The reason why we do not just type in // is because the / sign already means something in regular expression.
http:[^0-9]{2}[a-zA-Z]{3,} means that after the http://, we are looking for 3 or more letters, lowercase and uppercase, after that.
http:[^0-9]{2}[a-zA-Z]{3,}[^0-9]means that we are looking for another non digit item after the word. So again that could a any or these signs (./-+ etc)
http:[^0-9]{2}[a-zA-Z]{3,}[^0-9][^bing] now means that we do not want our link to contain the word BING (more the letters, B or I or N or G. You could write it out as [^b][^i][^n][^g] but that would be long and tedious) which is our search engine at the moment. This is because that usually signals that the link is a stray link for ads and other links to different pages on the search engine website. The urls have nothing to do with what we want, which are the search results.
http:[^0-9]{2}[a-zA-Z]{3,}[^0-9][^bing][a-zA-Z]{3,} now means that we are looking for 3 or more letters between lowercase a-z and uppercase A-Z after the non digit item.
http:[^0-9]{2}[a-zA-Z]{3,}[^0-9][^bing][a-zA-Z]{3,}[^0-9][a-zA-Z]{3,} Notice that we start repeating codes here, because we are basically dealing with scenarios like http://homemade.com/apples/pies/etc
And so finally, we end up with this altogether:
http:[^0-9]{2}[a-zA-Z]{3,}[^0-9][^bing][a-zA-Z]{3,}[^0-9][a-zA-Z]{3,}[^0-9][a-zA-Z]{3,}[^0-9][a-zA-Z]{3,}[^0-9]s*h*t*m*l*
This regular expression is going to match and find links like these:
http://homemadecandyideas.com/
http://www.homemadecandy.info/
http://www.wchstv.com/gmarecipes/homemadecandy.shtml
But it will ignore links like this one:
http://www.bing.com/explore?q=home+made+candy&FORM=BXFD
After inserting your Regular Expression into the parameter window of the Choose By Attribute command, click ok, and add a save to file command or an add to list command, and insert a scrape chosen attribute to scrape the items by href, like the following:
The results of your scrape will look like this, with all the stray unnecessary links removed from the bin:
]]>Please see below for instructions.
1. Open Task Scheduler
2. Click the "Create Basic Task" option on the right side of the page.
3. A small window will pop up asking you to name your task and write a description. Go ahead and do that, and click the Next button when ready to.
4. Under Trigger, you will need to determine when you want your bots to run. Daily? Weekly? Monthly? Go ahead and select daily for this example, and click Next.
5. You will be asked to specify on what day, what time you want the bot to run, and how frequently you want this task to recur. Go ahead and select a date and time, and click next when you're ready to do so.
6. Under action, select the "Start a Program" option. Click next when ready to do so.
7. Browse for your bot. Under "Add Arguments", type forward slash auto (/auto) into the field. Click Next.
8. Look over the details of your scheduled task. Check the box next to "Open the properties dialog for this task when I click finish" if that si what you want to happen. For this example, we will click the check box. Click Finish.
9. A properties dialog box will appear, askign you to determine if you want the bot to run when a user is logged on or regardless of that fact. Look over the properties box and determine what settings apply to your task. Click ok when done.
10. Click "Task Scheduler Library" on the left side of the window. Scroll through your list of tasks in the middle of the window and fine your schudeled task. You should recognize it by your title and description. You can choose to select your task, and click "Run" to test your task.
11.Whether you're clicking "Run" or waiting for your task to pop up, your bot should pop, run, and dissapear after running.
12. You can delete your task by right clicking it in the task manager library and selecting "delete".
Add a delay command from under the flow commands. Place the delay command below the clear cookies command.
Go to the Action commands and drag in the run javascript command. When the parameter window pops up, type in the following javascript:
location.reload();
Click ok to return to the script.
When your run the script, the script should progress in this order:
A. Cookies should be cleared. The page shouldn't do anything to show that.
B. There should be a delay for however many seconds your set the delay to.
C. The page should refresh. If you were logged into a page, the website will prompt you to sign in again.
]]>
You can add a list of email addresses to a list and place a $next list item in the Send To field creating a mass emailer. Don’t forget a set list position command with the position set to zero. It would look like the following image:
Place the send email command in a loop command to send the message to all the emails on the list. Make the loop loop according to the total emails on the emails list.
SMTP’s are fine to use with this command.
Go to under Variable functions and click and drag the $list from file function into the List to Add field within the Add List to List command. After you have loaded your proxies into a list, you will go under the Settings Commands and select the Change Proxy Command.
That command will go inside your account creation loop. You will then go to the Variable Functions again and find the $Next List Item function.
Click and drag the next list item function into the field in the Change Proxy command labeled “Proxy”.
Click OK. Go under Data Commands again and choose the Set List Position command. Under position, type the number zero.
Choose the list you created for the proxies. Put the Set List Position Command right before your account creation loop, outside of the loop.
Place the everything, with the exception of the Set List Position command, the Add to List command, the Clear List command (to clean and repopulate the list every time you run your bot) and the clear cookies command (to clear your cookies every time you loop and switch proxies), within a loop command (You can find the Loop command in your tool box under the Flow commands).
Do not type in the number of times you want the loop to run in the loop command under number of cycles. Go under your variable functions and select the $list total function.
Choose the list you created for the proxy list from the drop down menu in the list total fucntion. This means that the loop will run equal to the amount of items in your proxy list.
Your script should look like this in the end.
]]>