steam HTTPS
This commit is contained in:
parent
207b3f9125
commit
65856d4a2b
|
@ -41,7 +41,7 @@ class Steam extends Source {
|
|||
'дек.' => 'December',
|
||||
];
|
||||
protected function parse_tag($tag) {
|
||||
$url = 'http://store.steampowered.com/search/';
|
||||
$url = 'https://store.steampowered.com/search/';
|
||||
$url .= '?'.http_build_query([
|
||||
'sort_by' => 'Released_DESC',
|
||||
'term' => $tag,
|
||||
|
@ -72,7 +72,7 @@ class Steam extends Source {
|
|||
}
|
||||
}
|
||||
public function checkPage($url) {
|
||||
return (strpos($url,'http://store.steampowered.com/') !== FALSE);
|
||||
return (strpos($url,'store.steampowered.com/') !== FALSE);
|
||||
}
|
||||
public function page($url) {
|
||||
$this->cookies = new CookieJar(true);
|
||||
|
|
Reference in a new issue