Giter VIP home page Giter VIP logo

python-poker's Introduction

编码风格

  • 使用4个空格进行缩进,而非tab(把tab设置为4个空格)
  • 折行以确保其不会超过79个字符
  • 使用空格分隔函数和类,以及函数中的大块代码
  • 可能的话,注释单独占一行
  • 使用文档字符串
  • 把空格放到操作符的两边,以及逗号后面,但是括号里侧不加空格
  • 同意函数和类命名: 推荐类名使用驼峰,函数和方法名用小写_和_下划线。总是用self作为方法的第一个参数
  • 不要使用花哨的编码。
  • 注意编码

通过抓取B站cid,然后使用iframe来往页面中嵌入html5播放器(失败)

  • 应该是B站相关政策改了,在iframe里面嵌套html5播放器的时候,有一个REFERRER_LIST,里面应该是后来加入的合作网址,然后也会检测window.top != window.self,最终会有一个allow变量来是否允许播放。

python-poker's People

Contributors

jiangultimo avatar

Stargazers

 avatar

Watchers

 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.