Quasense Posted February 8, 2015 Share Posted February 8, 2015 hello. In this page has been most words search in PersianHow can I extract the Persian words and links of these words ? Good Luck Quote Link to comment Share on other sites More sharing options...
cyberRobot Posted February 9, 2015 Share Posted February 9, 2015 You could use PHP's DOMDocument class: http://php.net/manual/en/class.domdocument.php It has an option to get elements by tag name: http://php.net/manual/en/domdocument.getelementsbytagname.php Quote Link to comment Share on other sites More sharing options...
Quasense Posted February 10, 2015 Author Share Posted February 10, 2015 You could use PHP's DOMDocument class: http://php.net/manual/en/class.domdocument.php It has an option to get elements by tag name: http://php.net/manual/en/domdocument.getelementsbytagname.php Hi friends, Thanks for taking the time to help The problem is there is no Persian characters in the page source. you can check it yourself! so how can I extract the Persian words? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Solution QuickOldCar Posted February 10, 2015 Solution Share Posted February 10, 2015 Google usually wants people to use their api's. Maybe you can get the data following this article. http://techslides.com/hacking-the-google-trends-api Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.