php - set language in html dom parser -


i scrpping data site, default in french , have english version well. problem when scrap data it, return html in french, there not paramter set english in url, can add that. have tried in html tag

<html xmlns="http://www.w3.org/tr/html5/" lang="en" itemscope="" itemtype="http://schema.org/localbusiness"> 

and

<body id="lang-en" class="site-duproprio  prov-qc"> 

but no luck. here website want scrap data.

http://duproprio.com/search/?hash=/g-re=13/s-filter=forsale/pa-ge=1/ 

any appreciated :)

this site keeps language in session. before want scrape data in english must visit http://duproprio.com/gotoen

if use curl relevant question curl - cookies , sessions.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -