python - When writing a crawler, there is no csrf token in the source code. How to obtain it?
漂亮男人2017-05-24 11:35:05
0
2
830
I am writing a crawler to crawl AliExpress. I see the csrf token in NTEWROK's POST, but how do I get the csrf value when viewing the page source code? Thanks.
···
https://passport.aliexpress.c...User ID&rnd=random number
···
If it’s not in the source code, it must be in the cookie