mahjongrepository / phoenix-logs Goto Github PK
View Code? Open in Web Editor NEWScripts to download phoenix logs from tenhou.net
License: MIT License
Scripts to download phoenix logs from tenhou.net
License: MIT License
Heya, nice project!
I have a question when it comes to the log content.
I begun by executing python main.py -a id -y 2019
which generates a db file db/2019.db
with saved IDs.
Then, I executed python main.py -a content -y 2019 -l 50 -t 3
.
From what I understood, this stores the downloaded log content into said .db file.
Was wondering how one can use the downloaded log content? I can see that the created db-file has content in the log content
property. How do I actually use this content?
@Nihisil, I assume you are the one I can ask?
Heya @Nihisil,
was wondering if you would add a license to this project? I may use this code in one of my projects, and I would like to properly attribute to the original maintainers.
E:\program\phoenix-logs-master>python main.py -a id -y 2022
Latest downloaded archive: scc2022101309.html.gz
Downloading... scc2022101310.html.gz
Preparing the list of games...
Traceback (most recent call last):
File "E:\program\phoenix-logs-master\main.py", line 69, in
main()
File "E:\program\phoenix-logs-master\main.py", line 61, in main
DownloadGameId(logs_directory, db_file, historical_download, opts.start).process()
File "E:\program\phoenix-logs-master\download_game_ids.py", line 50, in process
results = self.process_local_files()
File "E:\program\phoenix-logs-master\download_game_ids.py", line 184, in process_local_files
for line in f:
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 27: illegal multibyte sequence
Is there any way to solve this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.