Updated user-agent.

This commit is contained in:
Erik C. Thauvin 2020-04-14 17:15:12 -07:00
parent 47bc73b743
commit 3c09a9ee9b

View file

@ -54,8 +54,7 @@ class Isgd private constructor() {
val connection = URL(url).openConnection() as HttpURLConnection
connection.setRequestProperty(
"User-Agent",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)" +
"Chrome/80.0.3987.149 Safari/537.36"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0"
)
return connection.inputStream.bufferedReader().readText()
}