php - Scrap using html dom parser -


is right way scrap other websites contents website using simple_html_dom. if wrong, suggest me method display news in website.

simple_html_dom extension guessing. if looking in core php(php extension), use domdocument

basically scraping taking sites content. , if doing same their(sites team) consent okay, otherwise not legal(depends on t&c). sites have mechanism block such acts.

better ask site team content, might able provide data in better , simpler way. api, rss or direct database.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -