Web Scraping with Perl & ChatGPT
Mohan Ganesan,
ProxiesAPI,
Oct 26, 2023
So as I've mentioned before, I use that ancient language called Perl for most of my web scripting. As it turns out, one of the advantages of using an old language is that chatGPT performs very well when using it. Following the examples in this article, and then branching out on my own, I tried a number of scripts, all of which were executed flawlessly. Want 'feed to JSON'? Ask chatGPT to "write a Perl script to harvest an RSS feed from an SSL-secured site and convert the results into JSON format." Then if you want to output the results using Javascript, ask it to "take the results of this and write Javascript to display the feed on a web page as html." Voila! Feed2JS in about three minutes.
Today: 0 Total: 20 [Share]
] [