Giter Club home page Giter Club logo

gitchat_download's People

Contributors

zwjjiaozhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gitchat_download's Issues

似乎网站的api有变化 好像爬不了pdf

今天上网站发现前端变了,然后以前的下载按钮没了。于是搜到了这个项目,想来借鉴一下,看了下源码,好像是直接

r = requests.get(a_url, cookies=self.cookies, headers=headers).content
content = etree.HTML(r)

src_content = content.xpath('//div[@class="column_topic_view"]/script/text()')
if src_content:
    href = re.findall('href = \'(.+)\'', src_content[0])[0]               # 解析到pdf的下载路径url

但是好像现在前端上只有pdfUrl,像这样的http://pdf.gitbook.cn/{一个uuid}
看了半天没发现以前那个token怎么生成的http://pdf.gitbook.cn/{一个uuid}?e={}&token={}
能否指点下,感谢...

windows下无法使用

1、设置cookie,不会弹窗,让我修改
2、点击download按钮,没有反应

系统版本为windows 10

mac下打开软件报错

can't open file './static/logo.ico' (error 2: No such file or directory)
Failed to load image from file "./static/logo.ico".
no bitmap handler for type 3 defined.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.