Element changes, how to get the link of the changed element?

I want to extract the magnet links of these resources, but the "class" attribute of the element has changed. What should I do?

Url: https://www.1377x.to/search/Hollywood/1/
Sitemap:
{"_id":"torrent","startUrl":["https://www.1377x.to/search/Hollywood/[1-23]/"],"selectors":[{"id":"first","type":"SelectorLink","parentSelectors":["_root"],"selector":".coll-1 a:nth-of-type(2)","multiple":true,"delay":0},{"id":"second","type":"SelectorLink","parentSelectors":["first"],"selector":"a.l26d94d521fba97c88ba468717c0f9da3355637d3[onclick]","multiple":false,"delay":0}]}

You can change selector to:

a[onclick]:contains('Magnet')

It works, thank you!