n0ts / yahoo_business_browser
Login to yahoo business page script
dev-master
2015-09-14 16:32 UTC
Requires
- pear/http_request2: dev-trunk
- shark/simple_html_dom: dev-master
This package is not auto-updated.
Last update: 2020-01-14 11:57:18 UTC
README
About
Login and scraping your business.yahoo.co.jp pages. Insprired Class of login your yahoo.co.jp pages https://gist.github.com/comeonly/3032161.
Requirements
PHP 5.4 HTTP_Request2 (pear install HTTP_Request2)
Installation
$ composer install
Sample
require 'yahoo_business_browser.php';
$id = '<your id>';
$pass = '<your password>;
$ybb = new YahooBusinessBrowser($id, $pass);
if (empty($ybb->cookies)) {
die('Could not login');
}
$content = $ybb->getGetBody(YahooBusinessBrowser::PARTNER_TOP_PAGE.'/DeliveryReport/index');
if ($content) {
print_r($ybb->body);
}
Authors
Author:: Naoya Nakazawa (me@n0ts.org)