Convert share string that generated by Amazon Music "Embed" share button to NoyPlaying string with hashtag #nowplaying .
Runtime: Python 3.x
$ pip3 install -r requirements.txt
$ python3 share-amazon-music-as-nowplay.py "<iframe id='AmazonMusicEmbedB07RSQMSDM' src='https://music.amazon.co.jp/embed/B07RSQMSDM/?id=WR4QXS0ND8&marketplaceId=A1VC38T7YXB528&musicTerritory=JP' width='100%' height='290px' style='border:1px solid rgba(0, 0, 0, 0.12);max-width:500px'></iframe>"
4番目の光/乃木坂46 - Sing Out! (Special Edition) #nowplaying
If you want to convet and copy the result to clip board,
$ python3 share-amazon-music-as-nowplay.py "<iframe id='AmazonMusicEmbedB07RSQMSDM' src='https://music.amazon.co.jp/embed/B07RSQMSDM/?id=WR4QXS0ND8&marketplaceId=A1VC38T7YXB528&musicTerritory=JP' width='100%' height='290px' style='border:1px solid rgba(0, 0, 0, 0.12);max-width:500px'></iframe>" | pbcopy