Giter Club home page Giter Club logo

ximalaya-xm-decrypt's Introduction

Hi there

  • 🏫 I'm currently a passionate student pursuing my studies.
  • 🌱 I love exploring new technologies and learning new skills.
  • 💻 My primary programming language is Python.
  • 🎯 My main focus is on Machine Learning and Data Science.
  • 🌱 I'm always eager to grow and learn from others in the field.
  • 🤝 I'm open to collaboration on interesting projects.

Feel free to drop me an email at [email protected]!

Diaoxiaozhang's GitHub stats

ximalaya-xm-decrypt's People

Contributors

diaoxiaozhang 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  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

ximalaya-xm-decrypt's Issues

一個小錯誤

Hello

剛發現一個小錯誤,第 147 行建立文件夾的 if 區塊,應該放在 if output == "" 裡面,因為當 decrypt_xm_file 函數未設置輸出文件夾且輸出的子文件夾又不存在的時候才需要建立,這樣理解應該沒錯吧,若無誤再煩請修改囉!

    if output == "":
        output = f"./output/{replace_invalid_chars(info.album)}/{replace_invalid_chars(info.title)}.{find_ext(audio_data[:0xff])}"
        # 下面的部分
        if not os.path.exists(f"./output/{replace_invalid_chars(info.album)}"):
            os.makedirs(f"./output/{replace_invalid_chars(info.album)}")

转换格式问题

我是用大佬这个工具用来下载喜马拉雅的,xm格式转换后是m4a格式,希望可以增加转换成mp3格式的选项。这样可以方便我放在收音机里面。谢谢大佬

报错无法解密

image
放了一个单文件进去解密练手,提示如上图。不管是否自定义导出路径,会直接很快显示完上图后退出程序,也没有解密完的文件生成。
专辑ID为5691565,顺手放进去的其中一个文件,所以不知道具体是哪一集。但随机放了两个文件去尝试,结果都一样。

Exception: unexpected format audio file with id3 version 2.4.0, contains:mpeg adts, layer iii, v2, 160 kbps, 24 khz, monaural

运行时出现下面这个错误,请问是怎么回事?

Traceback (most recent call last):
File "/Users/Documents/Ximalaya-XM-Decrypt-main/main.py", line 221, in
decrypt_xm_file(file, output_path)
File "/Users/Documents/Ximalaya-XM-Decrypt-main/main.py", line 145, in decrypt_xm_file
output = f"{output_path}/{replace_invalid_chars(info.album)}/{replace_invalid_chars(info.title)}.{find_ext(audio_data[:0xff])}"
File "/Users/Documents/Ximalaya-XM-Decrypt-main/main.py", line 138, in find_ext
raise Exception(f"unexpected format {value}")
Exception: unexpected format audio file with id3 version 2.4.0, contains:mpeg adts, layer iii, v2, 160 kbps, 24 khz, monaural

感谢!

非常棒,解密有效而且速度快!

请问一下源码环境如何配置

我这边本地配置python一直有一个包导进来显示不可用,导致没法自己修改一下,想把转换后的文件直接转成mp3,请问可以教一下吗?万分感谢

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.