Git Product home page Git Product logo

full-stack-camp-files's Introduction

1.html2pdf

对应的 h1 .. h6 html 标签会被转换成对应的 pdf 文档目录

link: http://html2pdf.com/zh/

2. 全栈营 爬虫代码

secret.rb 存有发送请求所需的
COOKIE="_session_name=cookie 值"
# eg:
# COOKIE = "_quanzhan_session=ZlhqRUJJR2NqdEdhY3..."

style.rb
写有所获取 html 资料所需的样式字串
针对不同的网站,要分别写对应的样式

3. 参考资源

https://www.jianshu.com/p/13214a91bc5d?from=timeline

full-stack-camp-files's People

Contributors

cwy007 avatar

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.