I am using below url to get Dailymotion trending videos, If i open the url in browser, it gives the correct data, but while scrapping the api using php, it gives me different results..
Asked
Active
Viewed 280 times
2
-
1I get same result in browser and in php – fusion3k Feb 14 '16 at 15:02
-
@fusion3k The result differ for me too as MK MK said. – manniL Feb 14 '16 at 15:02
-
1For me totally identical. For you different in why? number of records, structure or fields content? Could be a country ‘issue’? – fusion3k Feb 14 '16 at 15:14
-
Structure is same, but the records(title) are different. I also suspect there is some country issue, but unable to sort it now :/ – MK MK Feb 14 '16 at 15:16
-
You'd better show sample of what results do you get via PHP API, as it seems not everyone can see the difference – quasoft Feb 14 '16 at 15:49
1 Answers
0
With provided URL, it seems that DailyMotion API ignore the country
parameter.
Fast reading API DOC, I understand that country
parameter is used to set locale or as returned value.
To obtain language-filtered results, you can use language
:
This works for me.

fusion3k
- 11,568
- 4
- 25
- 47