WWW :: Mechanize VS Curl

1 Cevap php

Background: I need to get updated data for all of my users. The data resides on a secure site so the script needs to login (using cookies) Traverses some inner URLs and then fetch the required data.

Araçlar: WWW :: Mechanize veya Curl

What is the best tool for my needs? Performance is a big issue I need to get the updated data as fast as possible due to the reason that I need to get updated data to lots of users.

O WWW :: kütüphane mechanize kullanarak birden istekleri ateşlemek mümkün mü?

Update:

I got it running using Curl. But I was thinking that I could speed it up using Mechanize. Which library performs better regarding HTTP req? Are there any statistics? Right now i am using Curl with the multi interface.

1 Cevap

WWW :: Mechanize bir perl modülü. Bu nedenle, örneğin, onunla dilinin tüm gücünü kullanabilirsiniz fork çoklu süreçleri.