Posts by Júlio César • 33 points
3 posts
-
2
votes4
answers103
viewsA: Extracting json value from page
I got it this way: request, _ := http.Get("http://falcon.proxyrotator.com:51337/?apiKey=&country=BR") data, _ := ioutil.ReadAll(request.Body) var estrutura map[string]interface{}…
golanganswered Júlio César 33 -
1
votes4
answers103
viewsQ: Extracting json value from page
Good evening. I’m trying to extract a json value from a certain page. Trial code: package main import ( "encoding/json" "io/ioutil" "net/http" "fmt" ) type Response struct { proxy string…
golangasked Júlio César 33 -
0
votes2
answers169
viewsQ: Code improvement
Hello. I have this code: import os from selenium import webdriver import time def visita(link): try: options = webdriver.ChromeOptions() options.add_argument('--headless') driver =…