<commit_before><?php

namespace Yahooauc;

use Yahooauc\Parser;
use Yahooauc\Exceptions\BrowserException;
use Yahooauc\Exceptions\BrowserLoginException;
use Requests_Session;
use Requests;

/**
 * Class use HTTP Requests for get HTML content from auctions.yahoo.co.jp
 * It include Login function into yahoo, bid on auction lot, get current bidding lots,
 * get won lots and manage your cookies
 * 
 * @category Browser
 * @package  Yahoo\Auction
 * @author   <NAME> <<EMAIL>>
 * @link     https://github.com/notfoundsam/yahoo-auction
 *
 */
class Browser
{
    private $userName            = null;
    private $userPass            = <PASSWORD>;
    private $appId               = null;

    private $session             = null;
    private $auctionInfo         = null;

    private static $AUCTION_URL  = 'http://auctions.yahoo.co.jp/';
    private static $LOGIN_URL    = 'https://login.yahoo.co.jp/config/login';
    private static $CLOSED_USER  = 'https://closeduser.auctions.yahoo.co.jp/jp/show/mystatus';
    private static $OPEN_USER    = 'https://openuser.auctions.yahoo.co.jp/jp/show/mystatus';
    private static $BID_PREVIEW  = 'https://auctions.yahoo.co.jp/jp/show/bid_preview';
    private static $PLACE_BID    = 'https://auctions.yahoo.co.jp/jp/config/placebid';
    private static $API_URL      = 'http://auctions.yahooapis.jp/AuctionWebService/V2/auctionItem';

    private static $BROWSER_HEADERS = [
        'User-Agent' => 'Mozilla/6.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)',
        'Keep-Alive' => 115,
        'Connection' => 'keep-alive'<commit_msg>api https<commit_after><?php

namespace Yahooauc;

use Yahooauc\Parser;
use Yahooauc\Exceptions\BrowserException;
use Yahooauc\Exceptions\BrowserLoginException;
use Requests_Session;
use Requests;

/**
 * Class use HTTP Requests for get HTML content from auctions.yahoo.co.jp
 * It include Login function into yahoo, bid on auction lot, get current bidding lots,
 * get won lots and manage your cookies
 * 
 * @category Browser
 * @package  Yahoo\Auction
 * @author   <NAME> <<EMAIL>>
 * @link     https://github.com/notfoundsam/yahoo-auction
 *
 */
class Browser
{
    private $userName            = null;
    private $userPass            = <PASSWORD>;
    private $appId               = null;

    private $session             = null;
    private $auctionInfo         = null;

    private static $AUCTION_URL  = 'http://auctions.yahoo.co.jp/';
    private static $LOGIN_URL    = 'https://login.yahoo.co.jp/config/login';
    private static $CLOSED_USER  = 'https://closeduser.auctions.yahoo.co.jp/jp/show/mystatus';
    private static $OPEN_USER    = 'https://openuser.auctions.yahoo.co.jp/jp/show/mystatus';
    private static $BID_PREVIEW  = 'https://auctions.yahoo.co.jp/jp/show/bid_preview';
    private static $PLACE_BID    = 'https://auctions.yahoo.co.jp/jp/config/placebid';
    private static $API_URL      = 'https://auctions.yahooapis.jp/AuctionWebService/V2/auctionItem';

    private static $BROWSER_HEADERS = [
        'User-Agent' => 'Mozilla/6.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)',
        'Keep-Alive' => 115,
        'Connection' => 'keep-alive'
{'fraction_non_alphanumeric': 0.13157085766984322, 'fraction_numerical': 0.018444512757454658, 'mean_word_length': 2.9877450980392157, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, 'https://': 13, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3255307', 'n_tokens_mistral': 1164, 'n_tokens_neox': 1065, 'n_words': 238}