Archived
1
0
Fork 0

steam HTTPS

This commit is contained in:
Alexander Yakovlev 2018-06-08 21:37:18 +07:00
parent 207b3f9125
commit 65856d4a2b

View file

@ -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);