🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Save Amazon Music playlist as JSON file

This script adds an export button at Amazon Music playlist pages

Vous devrez installer une extension telle que Tampermonkey, Greasemonkey ou Violentmonkey pour installer ce script.

You will need to install an extension such as Tampermonkey to install this script.

Vous devrez installer une extension telle que Tampermonkey ou Violentmonkey pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey ou Userscripts pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey pour installer ce script.

Vous devrez installer une extension de gestionnaire de script utilisateur pour installer ce script.

(J'ai déjà un gestionnaire de scripts utilisateur, laissez-moi l'installer !)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

(J'ai déjà un gestionnaire de style utilisateur, laissez-moi l'installer!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Auteur
projecteurlumiere
Installations quotidiennes
0
Installations (total)
17
Notes
0 0 0
Version
2024-05-15
Créé
15/05/2024
Mis à jour
16/05/2024
Taille
5,95 ko
Licence
MIT
S'applique à

GitHub Repository:

https://github.com/projecteurlumiere/save-amazon-music-playlist

Usage

This script adds buttons that allow you to save the Amazon Music playlist you currently browse. Just visit the page with the playlist you want to save and press the button.

Curated (made by Amazon) and personal playlists (My Likes, etc.) are supported; albums are not supported.

Tested on music.amazon.fr but the regional versions should work fine.

Once you press the button, the script compiles a JSON file with data about the songs and saves it to your computer.

The output file contains the following:

  • Index (starting with 1 from the top-most song)
  • Title
  • Artist
  • Album
  • Duration

Apparently, it should be FreeYourMusic friendly but it has not been tested.

The script depends on the selectable DOM content. Amazon Music is a heavy and unpredictable website: some elements may become unselectable. If you do not want to lose some entries in your exported playlist, here are some tips:

  • Keep in mind how many songs there are in the playlist.
  • Make sure your window is maximized (otherwise, the layout changes and the export will not work)
  • Do not rush: make sure the content (music entries) has finished loading.
  • If your playlist contains fewer than 500 songs, it should be safe to export it right away.
  • If your playlist contains more than 500 songs, scroll to bottom until you get all songs. After that you might need to scroll to top once again as in the meantime the top-most songs may become undetectable.

Licence

Copyright 2024 projecteurlumiere

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.