[关闭]
@songying 2018-09-30T11:03:42.000000Z 字数 1766 阅读 2302

优酷vip

python爬虫


没有验证码登陆
cookie问题

cookie 必要参数
_m_h5_tk_enc
P_pck_rm

vip

api_url

  1. http://acs.youku.com/h5/mtop.youku.play.ups.appinfo.

Referer

  1. Referer: http://v.youku.com/v_show/id_XMzgyMjExNTMyNA==.html?spm=a2h0j.11185381.listitem_page1.5!11~A&&s=4d722befbfbdefbfbd1d

非vip

Cookie: _m_h5_tk_enc=5786117f0aad6d9474649d0141f0d80a; P_pck_rm=zHDF1NiEclZlf8EDk7jslG%2BIga70rOvpSh7rIGtd7yeVWDJzXxPPsuy1LP9evVXh7amgprRra4zlzrJKH%2BypQ0ETvZmUiRAdbe86lbXuYvr3vkhPUVMCna4o06MN4AmHeidFNobt6L0feyzuqsRyVg%3D%3D;
Referer: http://v.youku.com/v_show/id_XMzgyMjExNTMyNA==.html?spm=a2h0j.11185381.listitem_page1.5!11~A&&s=4d722befbfbdefbfbd1d

登陆 url

https://account.youku.com/login/confirm.json

  1. formtoken: 6D32DA06202ED21F3FA152EE0E539FF1
  2. buid: youku
  3. pid: 8fb8456183734a86bfc1c15a1c761cdf
  4. mode: popup
  5. sendCodeType: mobileCode
  6. state: false
  7. needRecommend: true
  8. rememberMe: true
  9. passport: 15901305457
  10. password: f21dd457222a49b60458c552c3b0d4ae
  11. loginType: passport_pwd
  12. UA: 112#5WgsT74W+uA+4HGgO7TRaSKxPvimnEjlmxXDjQs1WFZ8fUJri62ocg9XyyNOTg9C2GaHDus+8n/S2Mxv/u7VAfeFv6KOkq5rptLQxtxL1MFOyJOL90HINBI8aGtTK/qplslx/eZLZ5LBeMK1YOh7wipkKXtTYg+IhutYC52bh+ZGtnON1vPNOwDegs6B5AEAbQm0mZ+AQ8FSU/qZXe8/7IL/epyp2ZYB0aFbh77+TvXwUNr0dnOoX8oo+6m8IW2iTEYsZAtWYqXyb2qxz05JrgrjfP6MnAvoXLdOpSihV3cFGLQPJosoMMxIEYRFoAmTtTU1BGgn04QNCN3psy/WrGzpEppyhJGArWDdaAFmKWrKDJYql2dFaPFKWWLsbpF4O2EwkqRXhebcxwIN/3DK6giLr80Q7teGh0ZnF7ctlwYKZv2i9mcTCnYfv4CDQ+1TIgBwonQOKBKlDof+EPtRFK8hwfdlNf2TPNLdukLWwqDuJQBp1U3nGAu0yy47ohYYvUm8SWBDlburKveL6nL5UBiCGz5uEuRZ4hbsEBzi2LY6/3YSGPikgjzb99C4U88XNZmR4dz3L7/UWYuMh8Q7/94bT69F3OJFSWY8HrUlb9mqVmKyUDnBmEz0e853/NMtR0Aiqm4lS4LCmj/QAiZssuxn4mtxpHaa/L1Zv3+3t/4DbxJu72NvSVOAuBCUlB87NwR9rhHrNnQ74/Rc+T++ifNqHaaAwBmcXUZuOX/idZn5wBSt6/JYeKe6HI4MEnCD8BINv+jF5EGjVt+VclonBzsOFnRFxVpxYW==
  13. jsToken: HV01PAAZ0b00ac7aca6c0ef05baf44520182531b

方案

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注