Comments (7)
Meta map can be used on requests. https://github.com/geziyor/geziyor/blob/master/client/request.go#L14
Is that what you'r looking for?
from geziyor.
perfect. thank you so much.
from geziyor.
Meta map can be used on requests. https://github.com/geziyor/geziyor/blob/master/client/request.go#L14
Is that what you'r looking for?
Hi, Can you provide an example?
Thanks.
from geziyor.
meta := make(map[string]interface{}) //set meta here Get(g, <some url>, meta, g.Opt.ParseFunc){}
ParseFunc: func(g *geziyor.Geziyor, r *client.Response) { m := r.Request.Meta //can be used to setup extra values. }
from geziyor.
meta := make(map[string]interface{}) //set meta here Get(g, <some url>, meta, g.Opt.ParseFunc){}
ParseFunc: func(g *geziyor.Geziyor, r *client.Response) { m := r.Request.Meta //can be used to setup extra values. }
Please, can you give me a detailed example. The Get method is not clear to me.
Thanks.
from geziyor.
Hi @panikptz . I've added tests and documentation for passing data through requests as your request. See d3bdaf6
from geziyor.
@musabgultekin , this information really helped me, thanks a lot!
from geziyor.
Related Issues (20)
- firewall bypass HOT 1
- How to add customize headers while request? HOT 2
- context deadline exceeded HOT 7
- can't use http2 HOT 1
- Memory leak (gocoroutines) HOT 10
- Is scraping shadow DOM an option? HOT 6
- runtime error: invalid memory address or nil pointer dereference HOT 3
- to mirror a website like `wget -r`? HOT 1
- Does it support random UserAgent? HOT 1
- Scrape URLs then get to there. HOT 1
- Recursive Exports / Native return channels HOT 3
- problem installing geziyor HOT 1
- Wait until page is fully loaded HOT 1
- A way to handle onclick ? HOT 1
- renderd js not working HOT 2
- Library disables CTRL+C when used with Fiber (context-based router) HOT 11
- Exporters should accept io.Writer
- Need help understanding geziyor usage HOT 2
- Brave browser doesn't work with geziyor
- Export to variable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geziyor.