Closed luca-schlecker closed 3 years ago
Just looking through this as you pushed your latest commit, looks absolutely wonderful Luca. LMK when you're done with this PR (or open a new one for new features) so I can merge it.
This fix should be ready to merge if approved. I am looking to ready a feature so the user can decide how his mp3s are saved, should be ready soon.
If you wouldn't mind opening separate pull requests for each feature, that would be wonderful. I totally understand that some build off each other though, so no worries if you feel it's simpler to keep them all together locally.
The line containing the JSON data doesn't end with it so it has to be trimmed. My fix searches for the closing
</script>
tag marking the end of the data and parsing the substring to JSON instead. I also added a rescue statement so users don't see a crazy error message when something with that changes but instead they see the friendliersubmit a bug
message.Signed-off-by: Luca Schlecker luca.schlecker@hotmail.com