GithubHelp home page GithubHelp logo

phoenix-logs's People

Contributors

nihisil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

phoenix-logs's Issues

How to use downloaded log content?

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?

Add license to repository

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.

UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 27: illegal multibyte sequence

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?

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.