-
Notifications
You must be signed in to change notification settings - Fork 0
/
.curlrc
54 lines (34 loc) · 1.69 KB
/
.curlrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# cURL configuration options.
# https://curl.haxx.se/docs/manpage.html
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Wait 60 seconds before timing out.
connect-timeout = 60
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Follow HTTP redirects.
location
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# When following a redirect, automatically set the previous URL as referer.
referer = ";auto"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Display progress as a simple progress bar.
progress-bar
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Show error messages.
show-error
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Disguise as IE 9 on Windows 7.
user-agent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Attempt to resume broken downloads
continue-at -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# store the trace in curl_trace.txt file. beware that multiple executions of the curl command will overwrite this file
# trace curl_trace.txt
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# store the header info in curl_headers.txt file. beware that multiple executions of the curl command will overwrite this file
# dump-header curl_headers.txt
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#some headers
-H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
-H "Upgrade-Insecure-Requests: 1"
-H "Accept-Language: en-US,en;q=0.8"