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