Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Web Scraping

by marto (Cardinal)
on Jul 12, 2019 at 15:19 UTC ( [id://11102740]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Web Scraping
in thread Web Scraping

I do have experience using perl to scrape lots of things, having done so for years. I don't believe there's anything Python brings to the party that perl can't already do.

Replies are listed 'Best First'.
Re^4: Web Scraping
by betmatt (Scribe) on Jul 12, 2019 at 15:33 UTC
    Python is better at doing analysis or perhaps I should say 'machine learning' 'on the fly'. For example it may be better at following nodes (or leads) through a twitter feed. Python might be able to learn how to find the best pages. Otherwise your probably right, Perl would be faster than Python for most text processing. The regular expression capabilities of Perl, as build in, are better I am sure.
      Python is better at doing analysis or perhaps I should say 'machine learning' 'on the fly'. For example it may be better at following nodes (or leads) through a twitter feed. Python might be able to learn how to find the best pages.

      However, I doubt this is a feature of the Python language itself. It's more likely the libraries that you can load into Python that provide this functionality. Many libraries have APIs for multiple languages, so it'd probably be possible to use the exact same, or at least similar, libraries from Perl instead of Python, and then IMHO the advantages shift towards using only one programming language.

      Python is better at doing analysis or perhaps I should say 'machine learning' 'on the fly'.

      I still disagree.

      Python is better at doing ...

      ... space research, nasa uses Python a lot to explore space :) sorry for the useless comment, I could not resist.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11102740]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-03-28 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found