Skip to content

Jackpakistan/crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

crawler

Web crawler using php with curl extension. This class is written by myself as I am working in Wochacha Inc.

MailProcess Demo:

require_once 'MailProcess.php';

$email = new MailProcess('username', 'password', 'pop.exmail.qq.com');

$total = $email->getTotalMails();

for($msgid = $total; $msgid > 0; $msgid--) {
    $header = $email->getHeaders($msgid);       //Get the headers
    $chain = $email->getBody( $msgid );
    $email->getAttach($msgid);                  //Get && download the atthments
}

About

爬虫相关

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages