-
Content Count
38 -
Joined
-
Last visited
-
Days Won
1
Posts posted by Beele
-
-
You are great, thx !!!
-
Hi @all,
i have a folder with some .pdf documents like 19-0215458-test.pdf or 20-0357896.pdf
Now i want to scrape the first 10 digits from each document name.
Can someone help me please ?
-
Usually I do that too. But I found no solution to use the slider separated and so a can´t help others for this. To change the slider was no the right way.
At the end of the code i found this:
<input type="hidden" id="alter_von" name="alter_von" value="18">
I have changed only the value="18" and it works.
And at the end 1 saw, that the new URL after the search was:
http://www.URL.de/search/?search=boy_sucht_girl/age_18-30/de/online_first/page_1
And the simplest way was to navigate directly to this pages.
-
thx @UBotDev I found a solution for this !!
-
Hi
i have a page with 2 sliders, an age-slider (from - to) and a distance-slider (up to)
<div id="ageSlider" class="noUi-target noUi-ltr noUi-horizontal noUi-background"> <div class="noUi-base"> <div class="noUi-origin noUi-connect" style="left: 9.0909091%; "> <div class="noUi-handle noUi-handle-lower"> </div></div> <div class="noUi-origin noUi-background" style="left: 31.8181818%; "> <div class="noUi-handle noUi-handle-upper"> </div></div> </div></div> <div id="distanceSlider" class="noUi-target noUi-ltr noUi-horizontal noUi-connect"> <div class="noUi-base"> <div class="noUi-origin noUi-background" style="left: 9.0909091%; "> <div class="noUi-handle noUi-handle-lower"> </div></div></div></div>
this works fine for the age slider:
change attribute(<class="noUi-origin noUi-connect">, "style", "left: 15%; ") change attribute(<class="noUi-origin noUi-background">, "style", "left: 30%; ")
but the distance slider has the same class="noUi-origin noUi-background".
How can i say: Do it for id="ageSlider" or for id="distanceSlider" ?
Can anyone help me please ?
-
hey, for the german site i use:
change attribute(<value=w"*.*.*">, "value", "#day.12.2013")
and it changes the date in the display correctly.
But if I click "schedule" it saves the old date . Even if I click manually in the date-field and it opens: the old date (day) of today is marked.
Anybody know how to set this up?
Thanks !!!
ok... this works:
click($element offset(<name="future_dateIntlDisplay">, 0), "Left Click", "No") wait(1) click(<innertext=#day>, "Left Click", "No")
no change attribute, left click is better http://www.smileygarden.de/smilie/Schleifchen-Girls/smilie_girl_173.gif
- 1
-
hey, for the german site i use:
change attribute(<value=w"*.*.*">, "value", "#day.12.2013")
and it changes the date in the display correctly.
But if I click "schedule" it saves the old date . Even if I click manually in the date-field and it opens: the old date (day) of today is marked.
Anybody know how to set this up?
Thanks !!!
-
thanks for the answers.
The ID is unique and i understand, how i can remove one special ID with the remove node. But i need to delete always the complete first data profile...
open XML, scrape the id´s, add to a list, remove first list item ? That will not work.
-
thanks Aymen, thats a great plugin and I don´t know if it´s the right place to ask. But i´ll try it, maybe it´s interesting for others too: I have an xml like this:
<profiles> <data profile="21844041"> <haircolor>blond</haircolor> <height>160 - 170 cm</height> <weight>60 - 70 kg</weight> <smoker>no</smoker> <eyecolor>blau</eyecolor> <figure>sporty</figure> <postalcodearea>8</postalcodearea> <fsk>18</fsk> <gender>female</gender> <age>35</age> <id>21844041</id> </data> <data profile="21840501"> <haircolor>blond</haircolor> <height>160 - 170 cm</height> <weight>50 - 60 kg</weight> ........... and so on </data> </profiles>
I load XML to table and use the first "data profile". But then i want to delete it and save the xml. Think there are 2 ways:
1. load XML directly and delete (Problem: how can I delete the complete first "data profile", all have an diferent id?)
2. delete the first row from table and save the table as xml (Problem: Can I save a table as XML ?)
But for either of the two i can´t find a solution. Maybe someone has an idea?
-
for FB (login, navigate, post) i use click(<value="...... or click(<title="...... and it works fine.
- 1
-
I had a similar problem with different versions win7. Do you have a chance to compile the bot on the clients machine ?
-
please add me too
skype name= sarila27
-
and for future reference in addition to the $both param there is the opposite of that of $either ... does not pertain to your case here, just letting you know its there cuz it took me awhile to find $both and $either when I first got started as well.
@dankass: thanks for this tip - so we learn every day a little bit more.
The $either I never used before.
-
Thats an interesting question, but can i combine one into one another ?
An example:
1. run and create an emailadress, wait
2. run the next to create an account
3. goback to the first, click the email-link and verify the account
4. login to the created account and fill it out
5. run an 3. bot to scrape datas from this account
6. run the 4. bot to check every 10 minutes, if the account profile text was changed by an admin
7. if yes, fill it out once again
8. use the scraped datas to send or click something
9. if the account was deleted, all over again....
what is better ? Run with different tabs ? new browsers ? or define all and run only with if/then ?
-
That´s sooo easy ! I´m looking hours for any way - and at the end its a trifle.
Thanks iDollarstream, thanks Hellolnsomnia
-
Hey :-)
I´m looking for a way to combine two if-conditions like
if("{$exists(<innertext="aaaaa">)}and{$exists(<innertext="bbbbb">)}") { then { click(<href="ccccc">, "Left Click", "No") } else { click(<title="ddddd">, "Left Click", "No") } }
At the moment I use an if within a loop while.loop while($exists(<src="./images/bc_weiter.gif">)) { if($exists(<src="./images/online.gif">)) { then { add list to list(%profile26urls, $scrape attribute(<href=w"/profil.php5?id=*">, "href"), "Delete", "Global") click(<innerhtml="<img src=\"./images/bc_weiter.gif\" alt=\"Weiter\" class=\"suchergebnis_next\">">, "Left Click", "No") wait for element(<class="left suchergebnis_numbers">, "", "Appear") } else { } } } loop($list total(%profile26urls)) { navigate("https://www.url.de/{$list item(%profile26urls, #list26position)}", "Wait") wait for element(<src="./images/bc_senden.gif">, 10, "Appear") click(<src="./images/bc_senden.gif">, "Left Click", "No") and so on.... the 2. loop is a very big loop
I know, the 2. loop needs to be too in the else, but then I have it 2 times.... There is an other way ? -
@Security
it´s an interesting way, but for an other problem.
What i need:
I have a list1 with some links:
list1link1
list1link2
list1link3 and so on
the same with list2:
list2link1
list2link2
list2link3 ....
and the same with list3...
Now i´ll post every hour:
1 random link from list1
new line
1 random link from list2
new line
1 random link from list3
That´s easy, but the sequence should not be always the same. The next post should be:
1 random link from list3
new line
1 random link from list1
new line
1 random link from list2
I don´t need to remove or clear links, because i use all this links from list1, list2 and list3 over and over again.
Sorry for my bad english. Can understand me ?
-
EDIT: sorry, wrote before read your secound post.. thanks for this, I´ll try it !
"after using the link you want, add it to a list"
add item to list(%list4, $random list item(%links1), "Delete", "Global") add item to list(%list4, $random list item(%links2), "Delete", "Global") add item to list(%list4, $random list item(%links3), "Delete", "Global") /* ... now I have list4 with 3 links ... */ add item to list(%finallinks, $random list item(%list4), "Delete", "Global")
I want to use a random link, how can I add this random link to an other (substarcting) list ?
-
Thanks for your help. Now I have a new list4 with 3 correct links. But randomly grab the links from that new list4 returns sometimes 1 link 2 or 3 times.
I found no option to use and clear the used link (because its grab randomly) or grab every link only one time.
For this now i shuffle the list4 and have a new list5 and use this.
Maybe there is a better way, (never i use the sequence link1 - link2 - link3) but it works.
-
Hey :-)
i have 3 lists and with this i can post 3 random links, 1 from each list.
type text(<name="xhpc_message_text">, "{$random list item(%links1)}{$new line}{$random list item(%links2)}{$new line}{$random list item(%links3)}", "Standard")
But can i change the sequence of the links by chance ?
random link list 1 --- random link list 2 --- random link list 3
and for the next post:
random link list 3 --- random link list 2 --- random link list 1
and so on.... ??
-
[question closed] was only a little error, I have found it
Hey merkaba, thanks for share this. I have one question, maybe you can help me:
The first part i changed for german Facebook and my site and up to this point all is easy:
click(<innertext="Upload Photos/Video">, "Left Click", "No") wait for element(<name="file1">, "", "Appear")
but than i have this button to click (see the picture, I´m not allowed to use the image extension on this community. Hmm ??? )
http://s1.directupload.net/images/130716/kdpd2hp5.jpg
and for this the following doesn´t work:
set(#file, $next list item(%list), "Global") change file field(<name="file1">, #file)
Click and change file field doesn´t work too... any idea ?
-
...compile the bots on this XP-Computer and it works.
That works, but later are many other problems... Data Execution Prevention from SP2 and others. Now I use only win7.
-
Smart guy...
sometimes
-
Thanks for the answers. The bots have no add or delete files and XP ist SP3 with all updates. The notebooks are older and have minimum the system requirements for win7, but they are only for runnig tools like ubot ore other analytical tools/scrape tools.
But my brother had a good idea: I need to compile the bots on this XP-Computer and it works. He says, maybe it´s a problem with the 64 bit operating system on my main-computer ans the XP 32 bit version. For the next error need to change the boot.ini and think, then they will run. Hope so....
Scrape Dokument-Names From A Folder
in Regex (Regular Exp<b></b>ressions) 101
Posted
only here i can´t find a solution:
"$list from text" is no problem, but never before scraped dokument names from a folder.
navigate("D:\\Dokumente\\Desktop\\list","Wait")
add list to list(%file,$scrape attribute(<??>,"??"),"Delete","Global")