Answer the question
In order to leave comments, you need to log in
Is PHP suitable for web scraping, is it enough to satisfy most freelance customers?
- Is it possible to parse to php with authorization and cookies?
- Dynamic pages (sites) seem to be parsed simply by requests to the Rest API. I understand correctly ? to use selenium for this I consider not bad but a crutch.
- I understand that Python with parallelism and the Pandas library is just the only adequate tool for analyzing a large amount of parsed data. BUT THE NEXT QUESTION --- -> What orders are more common in freelancing? Most need the power of Python, or PHP will suffice.
Answer the question
In order to leave comments, you need to log in
Still how it fits
Also supports multithreading in CUrl
Cookies and everything else
You need to run it as a console application
There are all kinds of browser emulators from the tools
Or dom will help you parse through doom elements
A screen in Linux will allow you to run several parsers
In general , study the
VK city database was pumped out in a week in 100 streams and checking for errors when downloading
uptime was not 100%
Any universally-developed language is suitable.
But for some, there are ready-made extremely convenient libraries. For example Scrapy for Python.
Perhaps there is something similar for PHP.
Not for everyone.
Now there are a lot of sites with Javascript, they cannot be squandered on bare PHP.
You need to emulate a browser in something like PhantomJS or the like.
And these things are usually controlled from the JS language.
php и perl обычно более чем достаточно.
python полезен, если вы не знаете ни php ни perl, но знаете python.
И вообще, для парсинга достаточно любого языка, на котором вы можете написать парсер.
А для серьезных скоростей нужно не парсить а API.
Is PHP suitable for web scraping?Yes.
is it enough to satisfy most customersNot always.
use selenium for this I think is not bad but a crutchAre there options for how to execute JS without crutches?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question