【问题标题】:Python spynner not loading my pagePython spynner 没有加载我的页面
【发布时间】:2017-09-18 16:48:10
【问题描述】:

我安装 python spynner im tring 来加载我的页面“http://nexo.rf.gd/app.js” 加载不出来请帮忙 我尝试使用 mechinize.Browser() 但它无法加载 html 然后我尝试使用 selenium 远程 webdrivers,最后我尝试使用 spynner,因为这个浏览器可以运行 js,但不知道如何?请帮帮我

## with mechanize.Browser() ##

import mechanize
Br = mechanize.Browser()
Br.open('http://nexo.rf.gd/app.js')
Br.response().read()

答案是 HTML 代码女巫说这个网站需要 js 启用浏览器

答案将是'import sqlite'`

【问题讨论】:

  • 嗨,Harry,欢迎来到 StackOverflow!请花点时间接受the tour。本网站上的问题非常具体。请重写您的问题,以包括您遇到问题的代码、您尝试过但没有奏效的事情和/或您正在使用但不理解的其他资源,以及对什么的澄清 正是你的问题是。

标签: python spynner


【解决方案1】:

我终于找到了一种方法来打开我的页面html代码#witch is import sqlite3

每个浏览器都失败了,但是 dryscrape 我的问题解决了,谢谢

【讨论】:

    猜你喜欢
    • 2017-07-02
    • 2017-09-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-08-28
    • 2014-06-18
    • 2019-05-30
    相关资源
    最近更新 更多