Fingerprints for session.
# crawlee-python
d
I found this in js docs. Is this implemented also for python? How can i generate fingerprints based on session_id? https://crawlee.dev/js/api/browser-pool/interface/FingerprintOptions#useFingerprintCache
a
message has been deleted
e
import hashlib def fingerprint(session_id,salt="secret"): return hashlib.sha256((session_id+salt).encode()).hexdigest() print(fingerprint("abc123"))
Please refer to this code.
In Python, you’ll replicate that behavior using hashing (hashlib) or UUIDs.
d
are you some kind of AI?
v
Hi @drogbata , this is not supported in the Crawlee for Python, you can open a feature request, if you wish.
d
meaning here on discord or github?
a
@drogbata just advanced to level 1! Thanks for your contributions! 🎉
m