Any Powershell pros here? Why does StartsWith think the output begins with it?
$output_02193410 = "okds"
$output_02193410 = py script.py http://4chan.org/g
if ($output_02193410 -ceq "okds") { exit }
if ($output_02193410 -like "{'post': {'id':*") { Write-Host "like match" }
if (($output_02193410.StartsWith("{'post': {'id':"))) { Write-Host "startswith match" }
startswith match
Write-host "The output: ""$output_02193410""."
The output: "Request failed with error: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Retrying after 15 seconds... Received status code 404.".