Extended GPT Scraper avatar

Extended GPT Scraper

Try for free

No credit card required

Go to Store
Extended GPT Scraper

Extended GPT Scraper

drobnikj/extended-gpt-scraper
Try for free

No credit card required

Extract data from any website and feed it into GPT via the OpenAI API. Use ChatGPT to proofread content, analyze sentiment, summarize reviews, extract contact details, and much more.

Do you want to learn more about this Actor?

Get a demo
BA

Getting invalig cookie error

Closed

Becc_ai opened this issue
3 months ago

Still getting error related to the cookie. The cookie was just pulled from the chrome extenstion Cookie-Editor and pasted in the initial cookie field.

I tried to follow the instruction from that field, but the link to the 'editthiscookie' wasnt working.

Any advice on how to set the cookie correctly for use on facebook?

lukas.prusa avatar

Oh, yeah, just make sure to change the sameSite cookie field from no_restriction to None :) Make sure to follow this type for the cookies: https://github.com/apify/crawlee/blob/e249406ff09cf5ec3786794dace6d032dde48f0d/packages/types/src/browser.ts#L3

I hope this helps, thanks!

BA

Becc_ai

3 months ago

I changed it to "None", but then the cookie didn't work at all. The scraper couldn't access the fb group of the cookies account. Is there an alternative way to get a fb cookie or alternative way to scraper private fb groups?

lukas.prusa avatar

Hmm, it's weird that it didn't work... I'm not experienced with FB much, so I don't know whether these cookies are enough, but the scraper should be using them as set. Do these cookies alone work when you try them out in a new browser?

There is some community developed Actor in the store that seems to have cookies as an input option: https://console.apify.com/actors/LbOjFS8sWIy3wl0ak/input. Our Apify scrapers don't have cookies on input for "specific website scrapers", as that's usually against their TOSs.

BA

Becc_ai

2 months ago

The cookie itself did work indeed. Also in other actors. Unfortunately those actors didn't fit my use case.

Let me know if there is any update related to this use case.

lukas.prusa avatar

Hmm, weird that it didn't work here, it's just passing the cookie down to the crawling. I've tested it again on https://setcookie.net and it did work as expected.

Well, if we find any bugs related to this, then I will let you know here. Thanks and happy scraping!

Developer
Maintained by Apify

Actor Metrics

  • 61 monthly users

  • 55 stars

  • 99% runs succeeded

  • 7.6 days response time

  • Created in Jun 2023

  • Modified 21 days ago