简体   繁体   中英

Missing cookies in Scrapy response

When calling the following URL in Chrome:

http://www.ooshop.com/courses-en-ligne/ContentNavigation.aspx?TO_NOEUD_IDMO=N000000013348&TO_NOEUD_IDFO=81285&NOEUD_NIVEAU=3

I got the following cookies:

LBcookie
OOshopSessionState
___utmvafIuiNzR
___utmvbfIuiNzR
___utmvmfIuiNzR
incap_ses_189_516467
visid_incap_516467

I am trying to retrieve them in Scrapy . But when running it through Scrapy shell, I have only 4 out of 7 in response.headers.getlist('Set-Cookie') .

Any idea?

  • edit your settings.py
  • add COOKIES_DEBUG = True

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM