Update maryland_voter.php
authorPatrick McGuire <insidenothing@gmail.com>
Wed, 22 Jul 2020 14:44:23 +0000 (10:44 -0400)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2020 14:44:23 +0000 (10:44 -0400)
api/maryland_voter.php

index 80595f9..1609e6d 100644 (file)
@@ -30,7 +30,7 @@ function MVgetPage($url,$cookie,$post){
   $url = str_replace('[year]',date('Y'),$url); // replace year Examples: 1999 or 2003
   $curl = curl_init();
   curl_setopt ($curl, CURLOPT_URL, $url);
-  curl_setopt ($curl, CURLOPT_USERAGENT, sprintf("McGuire MEPS https://www.md-petition.com/ /%d.0",rand(4,50)));
+  //curl_setopt ($curl, CURLOPT_USERAGENT, sprintf("McGuire MEPS https://www.md-petition.com/ /%d.0",rand(4,50)));
   curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1);
   curl_setopt ($curl, CURLOPT_HEADER, 1);
   // spoof