Giter Site home page Giter Site logo

sakamsg's Introduction

A CLI tool for (乃木坂 | 日向坂 | 櫻坂 | 齋藤飛鳥) メッセージ app and 坂道 Blog

License

Support me

BuyMeACoffe BuyMeACola

Features

  • Retry the download when a download error is encountered.

  • Check for any missing files.

  • Friendly error alert mechanism.

  • ✅ 乃木坂46 メッセージ

  • ✅ 日向坂46 メッセージ

  • ✅ 櫻坂46 メッセージ

  • ✅ 齋藤飛鳥 メッセージ

  • ✅ 乃木坂46 BLOG

  • ✅ 日向坂46 BLOG

  • 櫻坂46 BLOG

Notice

  • In Mac OS, use ./sakamsg command to ensure that the running path is accurate, otherwise there will be a command sakamsg not found error.
  • The default location of the saved file is the same folder as the exe file. Since the file path in the HTML of the generated blog uses an absolute path, it is recommended that the exe file be placed in a disk/folder that is largely immobile

Recommended terminal tool (os:win)

Use the recommended terminal tools to better support the color display of scripts

How to use

Command for Save message

user needs to get the refresh token by own

  • -r refresh token | The -r command defaults saving files from nogizaka message app.

    sakamsg -r refresh_token 
    
  • -hn saving files from hinatazaka message app.

    sakamsg -r refresh_token -hn
    
  • -s saving files from sakurazaka message app.

    sakamsg -r refresh_token -s
    
  • -a saving files from saitou asuka message app.

    sakamsg -r refresh_token -a
    
  • -m member name in Japanese.

    You can specify multiple members with'-m'

    sakamsg -r refresh_token -m 遠藤さくら -m 井上和 
    

    When the -hn command is added, the specified hinatazaka member message file will be downloaded

    sakamsg -r refresh_token -hn -m 小坂菜緒 -m 金村美玖 
    

    When the -s command is added, the specified sakurazaka member message file will be downloaded

    sakamsg -r refresh_token -s -m 守屋麗奈 -m 森田ひかる
    
  • -p Download the Thumbnails、voice calling images、offical photos of all members.

    sakamsg -r refresh_token -p
    

    also can with -hn to save the thumbnails、voice calling images、offical photos of all members from hinatazaka.

    sakamsg -r refresh_token -p -hn
    

    also can with -s to save the thumbnails、voice calling images、offical photos of all members from sakurazaka.

    sakamsg -r refresh_token -p -s
    
  • -q Query the subscription members (Contains current members that have been subscribed to)

    sakamsg -r refresh_token -q
    

    with -hn command

    sakamsg -r refresh_token -q -hn
    

Command for Save blog

Special -m for Nogizaka46 blog group name : 3期生 | 4期生 | 新4期生 | 5期生 use -blog and -m to save nogizaka member blog

  • add the member's Japanese name after -m
    sakamsg -blog -m 遠藤さくら -m 岩本蓮加 -m 3期生 -m 井上和
    
  • use -blog and -hn and -m to save hinatazaka member blog
    sakamsg -blog -m 加藤史帆 -m 小坂菜緒 -m 上村ひなの -hn
    

Screenshot for html file

ayablog

Change Log

V1.2.1

  • Optimize the save policy and retry mechanism for saving blog
  • Fixed the issue where generating HTML files failed when saving some members' blogs.

V1.2.0

  • Support Hinatazaka46 Blog.
  • Fix some issues when saving blog html.
  • Optimize the structure of the generated HTML files.

V1.1.1

  • Fix issue when update blog html

V1.1.0

  • Add Nogizaka Blog Support.Please use -blog and -m without -r to download blog.
  • A simple local blog reader will be generate when save blogs.

sakamsg's People

Contributors

limangox avatar

Stargazers

Yanhua Zheng avatar  avatar  avatar  avatar Raaaaanold avatar LU Jialin avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jkwyp1120

sakamsg's Issues

Can't open the exe

I have tried both windows terminal and cmd, but it loads and crashes within seconds. Hope this can be solved! Thank you!

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.