A Gadio infomation mining tool for fans of g-cores.com.
Project description
gcf (g-cores.com fans)
A Gadio information mining tool for g-cores.com fans. The project is maintained at github.com/bfdw/gcf.
安装gcf
pip install gcf
查看帮助文档
gcf --help
gcf career --help
gcf update --help
查询示例:
过去100期里,谁成为了四十二的心头好?
2017年,是谁在哪儿镲了Hardy?
四十二的出台率是多少?
最近谁还在主持Gadio常规节目?
网站上有多少期节目没有标注主持人?都是哪几期?
(Please find the answer at the end.)
简单查询示例
进行查询前,请先更新数据
gcf update
列出所有西蒙参与的节目
gcf -d '西蒙'
gcf --dj '西蒙'
列出所有四十二与Ryoma这一CP参与的节目
gcf -d '四十二#Ryoma'
gcf --dj '四十二#Ryoma'
列出所有PRO节目
gcf -p 'GADIO pro'
gcf --prog 'GADIO pro'
列出所有题目中包含'兽'的节目
gcf -tt '兽'
gcf --title '兽'
列出2018年前五个月的所有节目
gcf -t 20180101 20180531
gcf --time 20180101 20180531
导出数据到当前目录下的gcf.cvs
gcf -e
gcf --export
尽展示标题、栏目两个数据列
gcf -c 'title#program'
gcf --col 'title#program'
列出最近的10期节目
gcf -r 10
gcf --recent 10
复合查询示例
列出最近5期由西蒙、四十二、Ryoma三人同时出场的PRO节目
gcf -d '西蒙#四十二#Ryoma' -p 'GADIO pro' -r 5
gcf --dj '西蒙#四十二#Ryoma' --prog 'GADIO pro' --recent 5
生涯模式示例
列出西蒙2015年以来每季度出台次数
gcf --dj '西蒙' --time 20150101 20190101 career --size Q --ratio 0.5
列出西蒙2017年以来每月出台率
gcf --dj '西蒙' --time 20170101 20171231 career --size M --ratio 0.2 --perc
简单统计示例
统计各栏目的数量,以及所有主持、嘉宾的出台次数
gcf statistic
HB查询示例
过去100期里,谁成为了四十二的心头好?
gcf --recent 100 --dj '四十二' statistic
2017年,是谁在哪叉了Hardy?
gcf --dj 'Hardy' --time 20170101 20171231 statistic
四十二的出台率是多少?(Y年度出台率,Q季度出台率,M月度出台率)
gcf --dj '四十二' career --size Q --ratio 0.2 --perc
最近谁还在主持Gadio常规节目?
gcf --prog 'gadio' --recent 20 statistic
网站上有多少期节目没有标注主持人?都是哪几期?
gcf --dj 'NULL' statistic
gcf --dj 'NULL' --col '#date#title#index'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gcf-0.0.3.dev2.tar.gz.
File metadata
- Download URL: gcf-0.0.3.dev2.tar.gz
- Upload date:
- Size: 85.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aea6f1513ccd5907cf271d6709cd6a2f7cb98970c21b13779aebe3b50cae5283
|
|
| MD5 |
77048d879240d73615002ebdc0ef8bca
|
|
| BLAKE2b-256 |
241a5620b4dadac4953134e64f9fd4268e0ec4e916b9e3462b07225544c0acb4
|