Skip to content

Commit

Permalink
Fixes hentaivn
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Aug 4, 2019
1 parent a0460d6 commit 2fefab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Driver/HentaiVN.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getClient(array $aOptions = []): \GuzzleHttp\Client
$oClient = parent::getClient(
[
'cookies' => new FileCookieJar(tempnam('/tmp', __CLASS__)),
'headers' => ['User-Agent' => self::USER_AGENT],
'headers' => ['User-Agent' => self::USER_AGENT, 'Referer' => $this->sUrl],
]
);
/**
Expand Down

0 comments on commit 2fefab1

Please sign in to comment.