Fix my cURL script / PHP code
Ngân sách $15-25 USD / giờ
Hi,
I have a script that logs on to a web site and downloads data and presents it in one page.
It's been working very well but recently is intermittent (works about 5% of the time). Strangely when I have not tried to use it for a while (e.g. a few hours) and then try it, it seems to work better.
I've tried to introduce more sleep time between page requests to simulate a real user but that didn't seem to have much affect. I also tried upgrade the PHP to 7.4 but that didn't seem to help either and now have a new issue come that I didn't used to get:
Error in PHP 7.4 : join(): Passing glue string after array is deprecated. Swap the parameters.
I tried to swap the parameters around but that didn't help.
I'm not sure if it could be about cookies or not (google chrome Application --> Cookies appears to show numerous cookies).
Adding to this...
1)When I look at Google Chrome Developer about the cookie data it appears to contain a lot more than the local cookie file generated by cURL.
2)I've tried to simplify the code and keep the cURL session open but this didn't seem to work.
3)Something on the web server recognizes non-conformist requests and then all requests return with a page requesting enabling of JavaScript. We may need to use PhantomJS or alternative to emulate a browser instead of cURL.
If interested in this project, I will give you 2 to try and fix the issue. If not able to then please quote seperately to convert the code to use PhantomJS (or similar) instead of cURL.
18 freelancer chào giá trung bình $47/giờ cho công việc này
Hello, I have experience of 8+ years in development and my implementation power keeps me one step ahead for working with any web based application with a very high speed. I am pro with PHP, Laravel, WordPress, Magent Thêm
Hi, I am curl expert, I need to check the site and code. it is normally to get more cookies in chrome.
Hallo there, i had read all your information, btw can you show me the error message while you run your script php? Please feel free to initiate the chat so that we can discuss further details.
Hello, Thank you for reading my response. We have rich experience in Website development services. We have gone through your project detail and we are much confident to build a Nice, Clean coded, and Responsive Autom Thêm
Hello, Manager! I hope you have a good day. I have read your job description carefully. I am a senior PHP developer. I am ready to help you to complete this job. Please check my profile and review, and then you can rea Thêm
Greetings, I am a senior full-stack developer with almost 6 years of experience working on developing, customizing, and optimizing websites using the latest technologies. During my career, I have worked on hundreds Thêm
Hi there, I have read your requirements and would like to tell you that I am a part-time freelancer and work on these technologies (Laravel (5 / 6 / 7), WordPress (4 / 5), Cake (3), Yii (1 / 2), Core PHP and many mor Thêm
Hi, I made similar application, so I have enough experience to fix your script and improve their performance.