Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.
/ AniCat Public archive

因目標網站已暫時關閉,故專案也暫停維護

Notifications You must be signed in to change notification settings

HeiTang/AniCat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anime1 Video Download By Python Script

架構圖

 -------------------------------------  -
|       Create / Update Database      |  |
 -------------------------------------   |-- Mod1:Database.py
 -------------------------------------   |
|           Search Database           |  |
 -------------------------------------  -
 -------------------------------------  - 
|  --------------   ----------------  |  |
| |              | | .M3U8 Download | |  |
| |     .MP4     |  ----------------  |  |-- Anime1.py (核心)
| |   Download   |  ----------------  |  |
| |              | |    .ts Merge   | |  |
|  --------------   ----------------  |  |
 -------------------------------------  -
 -------------------------------------  - 
|        Upload to Google Drive       |  |-- Mod2:Upload.py
 -------------------------------------  -

Usage

  1. 建立 MySQL 資料庫

    • 建立 Database
      cursor.execute("CREATE DATABASE Anime1_db")
      
    • 建立 Table
      cursor.execute("CREATE TABLE Anime1 (Name VARCHAR(255), ID INTEGER(99), Key_id INT AUTO_INCREMENT PRIMARY KEY)")
      
  2. 取得Google Drive API

  3. pip3 install -r requirement.txt

  4. pip3 Anime1.py

注意

資料庫的功能主要是紀錄動漫的名稱與其對應的 ID,例如:達爾文遊戲,ID 為 651。

About

因目標網站已暫時關閉,故專案也暫停維護

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published