In my experience, Chat GPT is much better at the general programming patterns and concepts than specific API implementations. Especially less commonly used ones, where it often gives a solution that only looks reasonable but uses the totally wrong methods.
I guess it’s similar with scraping the HTML of the Ubuntu releases page to get the latest torrent. It doesn’t know the exact HTML layout, so it guesses what is a likely one, even though it is wrong.
In my experience, Chat GPT is much better at the general programming patterns and concepts than specific API implementations. Especially less commonly used ones, where it often gives a solution that only looks reasonable but uses the totally wrong methods. I guess it’s similar with scraping the HTML of the Ubuntu releases page to get the latest torrent. It doesn’t know the exact HTML layout, so it guesses what is a likely one, even though it is wrong.