xiaoatie 2021-10-12 09:21 采纳率: 100%
浏览 80
已结题

Python爬取歌词时,找到这个,怎么变成中文歌词?

img


lyric:"W3RpOuW6kOW3nuaciF0KW2FyOuiuuOW1qV0KW2FsOuWvu+mbvuWQr+ekul0KW2J5Ol0KW29mZnNldDowXQpbMDA6MDAuMDBd5bqQ5bee5pyIIC0g6K645bWpClswMDowNS4xMV3or43vvJrorrjltakKWzAwOjEwLjIyXeabsu+8muiuuOW1qQpbMDA6MTUuMzNd57yW5puy77ya6K645bWpClswMDoyMC40NF3lhL/ml7blh7/lo4HlgbfkuobosIHlrrbnmoTlhYkKWzAwOjI0LjExXeWuv+aYlOS4jeaisyDkuIDoi6bljYHlubTlr5LnqpcKWzAwOjI3Ljk3XeWmguS7iueBr+S4i+mXsuivuyDnuqLoopbmt7vpppkKWzAwOjMyLjQ5XeWNiueUn+a1ruWQjeWPquaYr+iZmuWmhApbMDA6MzUuNjFd5LiJ5pyIIOS4gOi3r+eDn+mcniDojrrpo57ojYnplb8KWzAwOjM5LjQzXeafs+e1rue6t+mjnumHjOeci+ingeS6huaVheS5oQpbMDA6NDMuMjdd5LiN55+l5b+D5LiK55qE5L2g5piv5ZCm6L+Y5Zyo5bqQ6ZizClswMDo0Ny43NV3kuIDnvJXpnZLkuJ3kuIDnlJ/nj43ol48KWzAwOjUxLjE5XeahpeS4iueahOaBi+S6uuWFpeWvueWHuuWPjApbMDA6NTQuOTRd5qGl6L6557qi6I2v5Y+55aSc5aSq5ryr6ZW/ClswMDo1OC40OV3mnIjkuZ/mkYfmmYMg5Lq65Lmf5b235b6oClswMTowMi4zMV3kuYzok6zph4zkvKDmnaXkuobkuIDmm7LnprvmrocKWzAxOjA4LjAyXeW6kOW3nuaciOWFiSDmtJLlnKjlv4PkuIoKWzAxOjExLjgzXeaciOS4i+eahOS9oOS4jeWkjeW9k+W5tOaooeagtwpbMDE6MTUuNTRd5aSq5aSa55qE5LykIOmavuivieiht+iCoApbMDE6MTkuNDBd5Y+55LiA5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uMzZd5bqQ5bee55qE5pyI5YWJ5Zyo5oiR5b+D5LiKClswMzowNS4wNV3lpKrlpJrnmoTkvKTpmr7or4noobfogqAKWzAzOjA4Ljk5XeWmguS7iueahOS9oApbMDM6MTAuNTRd5Zyo6LCB55qE6Lqr5peBClswMzoxMi40N13miJHmtYHkuI3lh7rlvZPlubTms6rlhYkKWzAzOjE1LjQ3XeW6kOW3nuaciOWFiSDmtJLlnKjlv4PkuIoKWzAzOjE5LjQxXeaciOS4i+eahOS9oOS4jeWkjeW9k+W5tOaooeagtwpbMDM6MjMuMTld5aSq5aSa55qE5LykIOmavuivieiht+iCoApbMDM6MjcuMDJd5Y+55LiA5Y+l5b2T5pe25Y+q6YGT5piv5a+75bi4ClswMzozMC44M13lupDlt57mnIjlhYkg5qKo6Iqx6Zuo5YeJClswMzozNC42OF3lpoLku4rnmoTkvaDlj4jlnKjosIHnmoTouqvml4EKWzAzOjM4LjQxXeWutuS5oeaciOWFiSDmt7Hmt7Hng5nlnKjmiJHlv4PkuIoKWzAzOjQyLjkzXeWNtOa1geS4jeWHuuW9k+W5tOazquWFiQ=="
请问,上面的应该是歌词,如何转化为中文?

  • 写回答

3条回答 默认 最新

  • CSDN专家-showbo 2021-10-12 09:56
    关注

    题主这个内容是base64加密的,用base64.b64decode解密下就行了,需要导入base64模块,有帮助麻烦点个采纳【本回答右上角】,谢谢~~

    img

    import base64
    lrc="W3RpOuW6kOW3nuaciF0KW2FyOuiuuOW1qV0KW2FsOuWvu+mbvuWQr+ekul0KW2J5Ol0KW29mZnNldDowXQpbMDA6MDAuMDBd5bqQ5bee5pyIIC0g6K645bWpClswMDowNS4xMV3or43vvJrorrjltakKWzAwOjEwLjIyXeabsu+8muiuuOW1qQpbMDA6MTUuMzNd57yW5puy77ya6K645bWpClswMDoyMC40NF3lhL/ml7blh7/lo4HlgbfkuobosIHlrrbnmoTlhYkKWzAwOjI0LjExXeWuv+aYlOS4jeaisyDkuIDoi6bljYHlubTlr5LnqpcKWzAwO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L+Y5Zyo5bqQ6ZizClswMjowNy43Nl3kuIDnvJXpnZLkuJ3kuIDnlJ/nj43ol48KWzAyOjExLjIwXeahpeS4iueahOaBi+S6uuWFpeWvueWHuuWPjApbMDI6MTQuOTBd5qGl6L6557qi6I2v5Y+55aSc5aSq5ryr6ZW/ClswMjoxOC41Ml3mnIjkuZ/mkYfmmYMg5Lq65Lmf5b235b6oClswMjoyMi4yOV3kuYzok6zph4zkvKDmnaXkuobkuIDmm7LnprvmrocKWzAyOjI4LjAxXeW6kOW3nuaciOWFiSDmtJLlnKjlv4PkuIoK"
    lrc=base64.b64decode(lrc).decode('utf-8')
    print(lrc)
    
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 10月20日
  • 已采纳回答 10月12日
  • 创建了问题 10月12日

悬赏问题

  • ¥15 关于vue2中methods使用call修改this指向的问题
  • ¥15 idea自动补全键位冲突
  • ¥15 请教一下写代码,代码好难
  • ¥15 iis10中如何阻止别人网站重定向到我的网站
  • ¥15 滑块验证码移动速度不一致问题
  • ¥100 栈回溯相关,模块加载后KiExceptionDispatch无法正常回溯了
  • ¥15 Utunbu中vscode下cern root工作台中写的程序root的头文件无法包含
  • ¥15 麒麟V10桌面版SP1如何配置bonding
  • ¥15 Marscode IDE 如何预览新建的 HTML 文件
  • ¥15 K8S部署二进制集群过程中calico一直报错