Skip to content

Commit cf39c02

Browse files
author
Uğur Özyılmazel
committed
Update/fix README
1 parent 1b09b92 commit cf39c02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func main() {
4545
URL: "https://pypi.org/classifiers/",
4646
Country: "EE",
4747
}
48-
extraHeaders := []*extraHeader{} // custom extra headers
48+
extraHeaders := []*ExtraHeader{} // custom extra headers
4949
result := new(scraper.Result)
5050

5151
err := s.Scrape(params, extraHeaders, result)
@@ -108,8 +108,8 @@ func main() {
108108
Selector: "ul li button[data-clipboard-text]",
109109
}
110110
// add extra request headers
111-
extraHeaders := []*extraHeader{
112-
&extraHeader{
111+
extraHeaders := []*ExtraHeader{
112+
&ExtraHeader{
113113
name: "X-Referer",
114114
value: "https://www.google.com",
115115
},

0 commit comments

Comments
 (0)