Laur's blog
Sign in Subscribe

form

A collection of 2 posts
Mirror a Website with WGet
form

Mirror a Website with WGet

TL;DR: if you want to mirror a site where you need to authenticate, you need to do it in two steps. In the process of testing my app, I needed a mirror of the website I'm using. Since the website has authentication (via a form), the mirroring
Jun 10, 2016 1 min read
Send POST to server via python-requests
data

Send POST to server via python-requests

The other day I've had a question asked: How do you send a form data to a server and get the reply? My solution involves python-requests: __author__ = 'Laur IVAN' import requests proxies = { 'http': 'http://.../', 'https': 'http://.../' } payload = { '
Apr 15, 2014 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost