search

Home  >  Q&A  >  body text

python - When writing a crawler, there is no csrf token in the source code. How to obtain it?

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.

漂亮男人漂亮男人2831 days ago886

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-24 11:37:05

    ···
    https://passport.aliexpress.c...User ID&rnd=random number
    ···

    reply
    0
  • 怪我咯

    怪我咯2017-05-24 11:37:05

    If it’s not in the source code, it must be in the cookie

    reply
    0
  • Cancelreply