import requests from lxml import etree from selenium import webdriver session = requests.Session() headers = { # "cookie": "__jdu=16306499031761172541848; shshshfpa=df6327c8-74f2-c9a3-29c9-389fb41562ac-1630649904; shshshfpb=xexLLMfeG8P69uHabobsUFA%3D%3D; qrsc=3; unpl=V2_ZzNtbUdQRxMiWBFWeBsPAGJXFVsRVxNBJVgVVn5JDwVgURZdclRCFnUUR1xnGl4UZwYZXkJcQBxFCEdkeBBVAWMDE1VGZxBFLV0CFSNGF1wjU00zQwBBQHcJFF0uSgwDYgcaDhFTQEJ2XBVQL0oMDDdRFAhyZ0AVRQhHZHseXgRgBhpVQ1VDE3IIRlJ4HVkFbgYbbXJQcyVFCkBTfxBZNWYzE20AAx8Tcg5PUn5UXAJlAhVYSl9CF3UOQVR7H18BYgMbWEtnQiV2; areaId=2; ipLoc-djd=2-2830-0-0; PCSYCityID=CN_310000_310100_310115; pinId=lsKtIoaJimDpvbTLpMrKJLV9-x-f3wj7; pin=jd_57414a20bffec; unick=%E4%B8%8E%E4%B9%85_feng; _tp=LvlPevKT0FkeF%2BJQtUfdXjgr2SAXSnnHTrxnqrxMYyk%3D; _pst=jd_57414a20bffec; __jdc=122270672; _gcl_au=1.1.1836785530.1633924410; _fbp=fb.1.1633924414645.519720356; TrackID=1ILU2oMmH7WR65_LRlb8DCq0uCzc2dXEs6M5a7WFEIGseqc-WoLoK5V7u-C1i7Jy_WdYhE-TcoVnP45cSo3rQUjFLCo6w0mNRDU7qYR_GnZ8; wlfstk_smdl=qrsw7rgsz46z6mmx1k0odv2rzrvi35lu; __jdv=122270672|google|kwhkccf03|cpc|not set|1633930771218; _gcl_aw=GCL.1633930771.Cj0KCQjwnoqLBhD4ARIsAL5JedIqOBRMrHaJblomvken8pAhKpmjgv-u6EqReQR2ozTffQ1zLwzWa-saAthdEALw_wcB; __jda=122270672.16306499031761172541848.1630649903.1633930771.1633933865.18; shshshfp=8d26296d2870edbd915cd287af50b4e1; rkv=1.0; __jdb=122270672.6.16306499031761172541848|18.1633933865; shshshsID=a1e23fef79515c8defae58f8b0ff1f1e_6_1633934290956; 3AB9D23F7A4B3C9B=KBZPYBHGNBCD3PELLD3QBZEPYYBOPH6IY7KCIHSGO33AE77FKTOBXXJSX
自动登录某东 输入想要抓取的内容 并写入excel
最新推荐文章于 2024-08-28 16:14:15 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)