I'm trying to parse the injected data of the torrents' list on movies.io (for example, here).
I need to parse the whole array of torrent and put it into an array of hash (it already have this structure into the injected code), to use it easily. But I can't seem to find how to do this. I can delete the "e; and & with gsub! but, that's all I got for now.
The data I recolt would look like this:
[
{id: 18210, sha1: 13BB6A6F65EA6203ACE218E830395AE61427EDBD, name: Star Wars Episode IV A New Hope 1977 1080p Bluray x264 anoXmous},
{id: 3701, sha1: D3F3C5C237299B2B9F4EC84B7F46F6E9E0424574, name: Star Wars Episode IV A New Hope 1977 720p BRRiP XViD AC3 - IMAGi}
]