Jump to content
UBot Underground

Best way to do a keyword:url list


Recommended Posts

Hi can someone give me some advise on the best way to do a url:keyword list

 

So basically I need a list or keywords with corasponding urls, I have seen this done in this format before:

 

http://myurl.com:mykeyword

http://myurl.com,mykeyword

 

Which was done in text files, Is this the best way to do it? Maybe a user interface way? Considering on URL may have multiple keywords it may get a bit repetative doing it that way, any suggestions?

 

Also if I do it that way how do i go about importing that into ubot as url into 1 var and matching keyword into another var?

 

Just FYI I am not new to coding but new to Ubot, this is for an organic search bot which is my first Ubot project and of which is pretty much built apart from this final bit, traffic from the bot registers in Google Analytics as organic so it seems to be working.

 

 

Link to post
Share on other sites

Ok thanks, I thought so.

 

Was not that difficult to work out here is the code for anyone else needing it:

    clear table(&targets)
    create table from file("{$special folder("Application")}\\data\\targets.csv", &targets)
    set(#random row, $rand(0, $eval($subtract($table total rows(&targets), 1))), "Global")
    set(#target keyword, $table cell(&targets, #random row, 0), "Global")
    set(#target url, $table cell(&targets, #random row, 1), "Global")

Had to add the eval function to stop it returning blank entries

Link to post
Share on other sites

Nice you got it.

 

If you have multiple keywords in table cell, you can add them to list (instead of variable) by using "$list from text"....then you can access each item with "$list item".

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...