Jump to content
AdrianCOM

adrese de mail

Recommended Posts

  • Moderators

Ia-ti AutoIT si baga mare.. Inveti si tu cate ceva cu ocazia asta..

Numarul incepe de pe la 44000. Poti extrage 200 de email-uri pe minut.


#comments-start

Doar un script sa extraga email-uri din hi5profile.com
Scris de Synthesis

#comments-end

#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <String.au3>
#include <INet.au3>
#include <file.au3>
#notrayicon

Opt('MustDeclareVars', 1)

_Main()

Func _Main()
Local $okbutton, $pu, $i, $link, $ss, $id
Local $msg, $syninc, $synend, $fisier, $aduna
Local $end, $adunaid, $a, $a1, $a2

GUICreate("Email extractor", 240, 40)

$fisier = "cur.txt"

$syninc = guictrlcreateinput ("",10,10,50,20,$ES_NUMBER)
$synend = guictrlcreateinput ("",70,10,50,20,$ES_NUMBER)
$okbutton = GUICtrlCreateButton("OK", 130, 10, 30, 20)
$adunaid = guictrlcreateinput ("",170,10,25,20,$ES_NUMBER)
$aduna = guictrlcreatebutton ("+",200,10,30,20)

GUISetState()

While 1
$msg = GUIGetMsg()


Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop

case $msg=$aduna
$a = guictrlread ($adunaid)
$a1 = guictrlread ($syninc)+$a
$a2 = guictrlread ($synend)+$a
guictrlsetdata ($syninc, $a1)
guictrlsetdata ($synend, $a2)

case $msg=$okbutton
$pu = 0
$i = guictrlread ($syninc)
$end = guictrlread ($synend)
while $i <= $end
$link = "http://www.profilehi5.com/hi5-" & $i & ".html"
$ss = _inetgetsource ($link)
$id = _StringBetween ($ss,'<title> Hi5 ',' </title>')
if @error Then
$i = $i+1
elseif $id[0]=="" Then
$i = $i + 1
elseif stringinstr ($id[0],":") then
$i = $i + 1
elseif stringinstr ($id[0],"!") then
$i = $i + 1
else
if stringinstr ($id[0],"@") then
fileopen ($fisier,1)
filewriteline ($fisier, $id[0])
fileclose ($fisier)
$i = $i+1
$pu = $pu + 1
Else
$id[0] = $id[0] & "@yahoo.com"
fileopen ($fisier,1)
filewriteline ($fisier, $id[0])
fileclose ($fisier)
$i = $i+1
$pu = $pu + 1
endif
endif
wend
msgbox (64, "Terminat", "Am extras " & $pu & " mail-uri")

EndSelect
WEnd

GUIDelete()

Exit
EndFunc

EDIT : Nu ai postat la sectiunea potrivita..

PS : Nu merita sa faci un post nou pentru asta. Puteai sa dai un search pe forum..

Edited by Dragos
Link to comment
Share on other sites

  • Moderators

Luati autoit de aici si il instalati. Dupa instalare, faceti click dreapta pe desktop si selectati new si apoi aveti optiunea cu autoit. O selectati. Se va crea un nou fisier gen New AutoIT 3 script. Click dreapta pe el, edit si vi se va deschide o noua fereastra. Acolo bagati codul dupa care apasati tasta f5 si va rula programul.

Daca aveti intrebari in legatura cu autoit, dati-mi pm sau add sters.

Edited by Dragos
Link to comment
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.



×
×
  • Create New...