Facebook Pages Details avatar

Facebook Pages Details

Try for free

3 days trial then $9.99/month - No credit card required now

Go to Store
Facebook Pages Details

Facebook Pages Details

danek/facebook-pages-details-rental
Try for free

3 days trial then $9.99/month - No credit card required now

Scrap Facebook pages fast and easy. Extract all contact information and other details in no-time!

Developer
Maintained by Community

Actor Metrics

  • 26 monthly users

  • No reviews yet

  • 1 bookmark

  • 98% runs succeeded

  • 18 hours response time

  • Created in Apr 2024

  • Modified 24 days ago

competent_path avatar

Actor fails when proxy provided in the input

Closed
Competent Path (competent_path) opened this issue
24 days ago

Here is input that fails

1{
2  "max_retries": 5,
3  "proxy": {
4    "useApifyProxy": true,
5    "apifyProxyCountry": "US"
6  },
7  "urls": [
8    {
9      "url": "https://www.facebook.com/Microsoft/",
10      "method": "GET"
11    },
12    {
13      "url": "https://www.facebook.com/Microsoft/about",
14      "method": "GET"
15    }
16  ]
17}

ERROR Actor failed with an exception

12025-02-18T21:46:02.826Z       Traceback (most recent call last):
22025-02-18T21:46:02.828Z         File "/usr/src/app/src/main.py", line 36, in main
32025-02-18T21:46:02.830Z           proxy_config = await Actor.create_proxy_configuration(actor_proxy_input=proxy)
42025-02-18T21:46:02.832Z                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
52025-02-18T21:46:02.834Z         File "/usr/local/lib/python3.11/site-packages/apify/actor.py", line 1309, in create_proxy_configuration
62025-02-18T21:46:02.836Z           return await cls._get_default_instance().create_proxy_configuration(
72025-02-18T21:46:02.838Z                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
82025-02-18T21:46:02.840Z         File "/usr/local/lib/python3.11/site-packages/apify/actor.py", line 1349, in _create_proxy_configuration_internal
92025-02-18T21:46:02.842Z           await proxy_configuration.initialize()
102025-02-18T21:46:02.844Z         File "/usr/local/lib/python3.11/site-packages/apify/proxy_configuration.py", line 206, in initialize
112025-02-18T21:46:02.846Z           await self._check_access()
122025-02-18T21:46:02.848Z         File "/usr/local/lib/python3.11/site-packages/apify/proxy_configuration.py", line 328, in _check_access
132025-02-18T21:46:02.850Z           async with httpx.AsyncClient(proxies=await self.new_url()) as client:
142025-02-18T21:46:02.852Z                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
152025-02-18T21:46:02.854Z       TypeError: AsyncClient.__init__() got an unexpected keyword argument 'proxies'
competent_path avatar

It also fails with this input:

{ "max_retries": 5, "proxy": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ] }, "urls": [ { "url": "https://www.facebook.com/Microsoft/", "method": "GET" }, { "url": "https://www.facebook.com/Microsoft/about", "method": "GET" } ] }

danek avatar

I just updated internal libs of actor, can you try now?

competent_path avatar

Thank you. It seems to work.