Giter Club home page Giter Club logo

njupt-library-douban's Introduction

# 豆瓣南邮图书馆插件

豆瓣南邮图书馆插件是一个油猴脚本

这个脚本的作用是,当你在豆瓣读书的网站上查看一本书的时候,如果该书在南邮图书馆有馆藏,那么右侧在哪儿借这本书?栏目会出现该书在南邮图书馆网站的链接。

screenshot

该脚本的原理是,在你访问豆瓣页面的时候,用该书的标题向南邮图书馆网站发起一个搜索请求,并解析返回的HTML页面,找到对应的书和连接,并将其动态加入当前浏览的豆瓣网站。

不足之处

  • 如果这本书的豆瓣页面原来就没有在哪儿借这本书?栏目,那么会脚本创建一个,不过不太美观,有待提高
  • 没有返回书的详细信息,比如书架号,能否借到。考虑到用油猴脚本的都是PC端浏览器,所以让用户多点击一次也无妨
  • 该脚本可能会随着南邮图书馆网站的改版和来大姨妈,或者豆瓣网站改版而失效。

TODO

  • 该脚本面向南邮学生。。所以需要为小白用户写一个浅显易懂的脚本安装教程
  • 提交到http://userscripts.org/

njupt-library-douban's People

Contributors

oa414 avatar

Stargazers

戴志强 avatar

Watchers

James Cloos avatar  avatar Crease 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.