|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
我最近想爬boss直聘,用requests后爬取,一开始还是正常,后面就失效了,requests解析的内容变得跟原网页内容不同了
变成了这样,有大佬知道怎么破吗?
- <style>
- html,
- body {
- margin: 0;
- width: 100%;
- height: 100%;
- }
- @keyframes bossLoading {
- 0% {
- transform: translate3d(0, 0, 0);
- }
- 50% {
- transform: translate3d(0, -10px, 0);
- }
- }
- .data-tips {
- text-align: center;
- height: 100%;
- position: relative;
- background: #fff;
- top: 50%;
- margin-top: -37px;
- }
- .data-tips .boss-loading {
- width: 100%;
- }
- .data-tips .boss-loading p {
- margin-top: 10px;
- color: #9fa3b0;
- }
- .boss-loading .component-b,
- .boss-loading .component-s1,
- .boss-loading .component-o,
- .boss-loading .component-s2 {
- display: inline-block;
- width: 40px;
- height: 42px;
- line-height: 42px;
- font-family: Helvetica Neue, Helvetica, Arial, Hiragino Sans GB, Hiragino Sans GB W3, Microsoft YaHei UI, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
- font-weight: bolder;
- font-size: 40px;
- color: #eceef2;
- vertical-align: top;
- -webkit-animation-fill-mode: both;
- -webkit-animation: bossLoading 0.6s infinite linear alternate;
- -moz-animation: bossLoading 0.6s infinite linear alternate;
- animation: bossLoading 0.6s infinite linear alternate;
- }
- .boss-loading .component-o {
- -webkit-animation-delay: 0.1s;
- -moz-animation-delay: 0.1s;
- animation-delay: 0.1s;
- }
- .boss-loading .component-s1 {
- -webkit-animation-delay: 0.2s;
- -moz-animation-delay: 0.2s;
- animation-delay: 0.2s;
- }
- .boss-loading .component-s2 {
- -webkit-animation-delay: 0.3s;
- -moz-animation-delay: 0.3s;
- animation-delay: 0.3s;
- }
复制代码 |
|