We can use python scrapy.FormRequest
send post request with parameters.
import scrapy
class ExampleSpider(scrapy):
name = 'ExampleSpider'
allowed_domains = ['example.com']
def start_requests(self):
import scrapy | |
class BookSpider(scrapy.Spider): | |
name = 'bookspider' | |
start_urls = [ | |
'http://books.toscrape.com/' | |
] | |
def parse(self, response): | |
for link in response.xpath('//article[@class="product_pod"]/div/a/@href').extract(): |
package main | |
import ( | |
"fmt" | |
) | |
type I interface { | |
Test() | |
} |
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"syscall" | |
) | |
func main() { |