Error on cURL with POST data

前端 未结 2 1793
自闭症患者
自闭症患者 2021-01-26 08:21

I want to extract data from this URL with Php Curl:

https://www.traveloka.com/en/flight/fullsearch?ap=JKTA.DPS&dt=14-10-2017.NA&ps=1.0.0&sc=ECONOMY

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-26 08:51

    What you want to do is called Web scrapping, there are plenty of tools that you can use to do that. For now, go for: https://github.com/FriendsOfPHP/Goutte or https://github.com/duzun/hQuery.php.

提交回复
热议问题