Browse Source

abort steam run on scraping errors

master
Alexander Yakovlev 7 months ago
parent
commit
3ea482f41f
Signed by: oreolek GPG Key ID: 1CDC4B7820C93BD3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/Source/Steam.php

+ 3
- 0
src/Source/Steam.php View File

@@ -70,6 +70,9 @@ class Steam extends Source {
global $argv;
if (isset($argv[2])) {
$game = $this->page($argv[2]);
if (!$game) {
return;
}
$this->output .= $game->print();
} else {
$this->parse_tag("text-based");