php - Script to retrieve position of an element on a web page -


i know there javascript getboundingclientrect() retrieve position of element on web page, need write script (preferably in php) take list of url , retrieves position of specific element on every page (an <a href="specificurl">).

the position expressed in px, or "it's in header", "it's in footer", "it's in sidebar" (that way it's better purpose).

there method in "simple" way?

look web scraper such guette, simple html dom or curl / libcurl. not "simple".

see related question: screen scraping technique using php.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -