All Projects → abbeyokgo → Ojbk_jiexi

abbeyokgo / Ojbk_jiexi

Licence: agpl-3.0
ojbk视频解析源码,支持tumblr/2mm/91porn/微博

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Ojbk jiexi

Topaz
A configurable, easy to maintain personal website
Stars: ✭ 362 (-9.5%)
Mutual labels:  flask
Serverless Wsgi
Serverless plugin to deploy WSGI applications (Flask/Django/Pyramid etc.) and bundle Python packages
Stars: ✭ 377 (-5.75%)
Mutual labels:  flask
React News Board
🌀 A Full-Stack Web App built with React and Flask.
Stars: ✭ 389 (-2.75%)
Mutual labels:  flask
Explore Flask Zh
Explore Flask中文翻译。关于flask的一些最佳实践。
Stars: ✭ 368 (-8%)
Mutual labels:  flask
Yotter
Youtube and Twitter with privacy.
Stars: ✭ 376 (-6%)
Mutual labels:  flask
Flask Redis
A Flask extension for using Redis
Stars: ✭ 381 (-4.75%)
Mutual labels:  flask
Responder
A familiar HTTP Service Framework for Python.
Stars: ✭ 3,569 (+792.25%)
Mutual labels:  flask
Pytorch classification
利用pytorch实现图像分类的一个完整的代码,训练,预测,TTA,模型融合,模型部署,cnn提取特征,svm或者随机森林等进行分类,模型蒸馏,一个完整的代码
Stars: ✭ 395 (-1.25%)
Mutual labels:  flask
Multi Camera Live Object Tracking
Multi-camera live traffic and object counting with YOLO v4, Deep SORT, and Flask.
Stars: ✭ 375 (-6.25%)
Mutual labels:  flask
Enferno
A Python framework based on Flask microframework, with batteries included, and best practices in mind.
Stars: ✭ 385 (-3.75%)
Mutual labels:  flask
Flask Tutorial
Flask 入门教程:使用 Python 和 Flask 开发你的第一个 Web 程序
Stars: ✭ 365 (-8.75%)
Mutual labels:  flask
Flask Vuejs
Example & Tips, Flask with Vue.js.
Stars: ✭ 373 (-6.75%)
Mutual labels:  flask
Invoice
增值税发票OCR识别,使用flask微服务架构,识别type:增值税电子普通发票,增值税普通发票,增值税专用发票;识别字段为:发票代码、发票号码、开票日期、校验码、税后金额等
Stars: ✭ 381 (-4.75%)
Mutual labels:  flask
Cnn handwritten chinese recognition
CNN在线识别手写中文。
Stars: ✭ 365 (-8.75%)
Mutual labels:  flask
Data Driven Web Apps With Flask
Course demo code and other hand-out materials for our data-driven web apps in Flask course
Stars: ✭ 388 (-3%)
Mutual labels:  flask
Pytest Flask
A set of pytest fixtures to test Flask applications
Stars: ✭ 359 (-10.25%)
Mutual labels:  flask
Cookiecutter Flask
A flask template with Bootstrap 4, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.
Stars: ✭ 3,967 (+891.75%)
Mutual labels:  flask
Pyfladesk
create desktop application by using Flask and QtWebKit
Stars: ✭ 399 (-0.25%)
Mutual labels:  flask
Autotest platform
Python+flask+selenium 搭建UI自动化测试平台
Stars: ✭ 391 (-2.25%)
Mutual labels:  flask
Nginx Ui
Nginx UI allows you to access and modify the nginx configurations files without cli.
Stars: ✭ 4,067 (+916.75%)
Mutual labels:  flask

OJBK视频解析网站搭建教程

  1. 首先安装Python。linux自带了python,windows请自行下载python。推荐Centos7/Python2.7
  2. 这时候,pip应该可以用了。如果不行,linux请按下面的命令安装pip: wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
  3. /root目录下解压/git clone下源码:git clone https://github.com/tangrela/ojbk_jiexi.git
  4. 安装依赖库:cd ojbk_jiexi && pip install -r requirement.txt
  5. 创建一个logs目录: mkdir logs
  6. 创建数据库:mv config.sample.py config.py && python rebuildDB.py
  7. 安装redis:建议先安装宝塔,然后直接用宝塔安装redis(ps.必须安装redis)
  8. 网站目录下运行:gunicorn -w4 -b 0.0.0.0:5000 run:app

然后访问 ip:5000 试试 如果不能访问,看看防火墙是否开了5000端口?


以上都是基本的安装。

修改域名

config.py中:

- `domain`:是你的网站域名,用于显示在前端

- `mm2`:恋恋影视的最新域名

- `porn91`:91porn的域名

如果你需要使用MySQL

修改config.py:注释第六行 --> 第五行开头#去掉,修改userpasswddatabase

配置自启动

  1. 修改supervisord.conf,将directory修改为脚本根目录
  2. echo "supervisord -c 网站根目录/supervisord.conf" >> /etc/rc.d/rc.local
  3. chmod +x /etc/rc.d/rc.local

配置nginx

修改nginx配置文件,添加server

server {
        listen       80;
        server_name t.v4s0.us; #域名
        charset utf-8;

        access_log  /www/wwwlogs/t.v4s0.us.log;

        location / {
        proxy_pass http://127.0.0.1:5000;
        proxy_redirect off;
        proxy_set_header Host $host:80;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }
        location /(images|javascript|js|css|flash|media|static)/ {
                root /root/tumblr_clawer/app/static; #目录修改好
                expires 1d;
        }

        #error_page  404              /404.html;

        # redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
   }

  }

2018-01-30更新

支持Tumblr导出视频和图片

2018-02-04更新

  1. 新增微博批量解析
  2. 优化爬虫
  3. 上线1.0反爬虫策略
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].