2

How can I get JSON data from http://en-maktoob.yahoo.com/?

http://en-maktoob.yahoo.com/ may be a website for Arab countries. I want to get the PRAYER TIMES in the homepage of this website to my application. Has yahoo provided the interface already? If not, how can I get the data legally?

by
2 Replies
  • No! This data is not available openely :(

    You can do page scrapping with YQL, e.g. is here http://bit.ly/islamicapi This works on this YQL query

    select * from html where url="http://www.islamicfinder.org/prayerDetail.php?country=lesotho&city=Api&state=00&id=7&month=&year=&email=&home=2012-10-2&lang=&aversion=&athan=" and
          xpath='//html/body/center/table[3]/tr/td/center[1]/table/tr/td[1]/table/tr[1]/td/table/tr[3]/td/table/tr[1]/td[1]/table'
    
    

    you might need permission from website owner.

    0
  • Thank you very much. You had provided a very good method.


    QUOTE(markandey @ 16 Oct 2012 9:18 AM)

    No! This data is not available openely :(

    You can do page scrapping with YQL, e.g. is here http://bit.ly/islamicapi This works on this YQL query

    select * from html where url="http://www.islamicfinder.org/prayerDetail.php?country=lesotho&city=Api&state=00&id=7&month=&year=&email=&home=2012-10-2&lang=&aversion=&athan=" and
       xpath='//html/body/center/table[3]/tr/td/center[1]/table/tr/td[1]/table/tr[1]/td/table/tr[3]/td/table/tr[1]/td[1]/table'
    
    

    you might need permission from website owner.

    0

Recent Posts

in YQL