CA
genetic-orange
TypeError: __init__() got an unexpected keyword argument 'follow_redirects'
I am using Apify Client to scrape information in a cron job written in airflow dag. When i try to execute the task file manually, it works fine but when i do so from the airflow UI, it throws this error. I tried to upgrade the version of
httpx
to 0.24 but apify client support 0.23
3 Replies
its airflow issue, client not getting valid input and you need somehow to exclude
follow_redirects
Have you tried change to allow_redirects ?
genetic-orangeOP•3y ago
@!!!Joefree!!! 👑 @Alexey Udovydchenko i removed the follow_redirects from the source code and installed on my system via pip. It works fine after that