Outils pour utilisateurs

Outils du site


tech:notes_curl_wget

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:notes_curl_wget [2026/09/10 14:51] Jean-Baptistetech:notes_curl_wget [2026/09/10 14:52] (Version actuelle) Jean-Baptiste
Ligne 184: Ligne 184:
 # Send a fake UA string for the HTTP servers that sniff it # Send a fake UA string for the HTTP servers that sniff it
 user-agent = "Mozilla/5.0 Gecko" user-agent = "Mozilla/5.0 Gecko"
-~~~ 
- 
- 
-### Fichier config .wgetrc 
- 
-`~/.wgetrc` 
-~~~bash 
-# https://www.gnu.org/software/wget/manual/html_node/Wgetrc-Commands.html 
- 
-# Set the certificate authority bundle file to file. The same as ‘--ca-certificate=file’. 
-ca_certificate = file 
- 
-# Set the directory used for certificate authorities. The same as ‘--ca-directory=directory’. 
-ca_directory = directory 
- 
- 
-header = Accept: */* 
-header = Accept-Language: en-US,en;q=0.8 
-header = Keep-Alive: 300 
-user_agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36 
- 
-# bind_address = 202.x.x.x 
-# referer = http://www.google.com 
 ~~~ ~~~
  
Ligne 263: Ligne 240:
 wget -O plop https://getsession.org/linux wget -O plop https://getsession.org/linux
 # Saving to: ‘plop' # Saving to: ‘plop'
 +~~~
 +
 +
 +### Fichier config .wgetrc
 +
 +`~/.wgetrc`
 +~~~bash
 +# https://www.gnu.org/software/wget/manual/html_node/Wgetrc-Commands.html
 +
 +# Set the certificate authority bundle file to file. The same as ‘--ca-certificate=file’.
 +ca_certificate = file
 +
 +# Set the directory used for certificate authorities. The same as ‘--ca-directory=directory’.
 +ca_directory = directory
 +
 +
 +header = Accept: */*
 +header = Accept-Language: en-US,en;q=0.8
 +header = Keep-Alive: 300
 +user_agent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36
 +
 +# bind_address = 202.x.x.x
 +# referer = http://www.google.com
 ~~~ ~~~
  
tech/notes_curl_wget.1789044661.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki