Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group Doesn't exist. #1004

Closed
Subhan-Zaheer opened this issue Jul 4, 2023 · 4 comments
Closed

Group Doesn't exist. #1004

Subhan-Zaheer opened this issue Jul 4, 2023 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@Subhan-Zaheer
Copy link

Subhan-Zaheer commented Jul 4, 2023

Describe the bug

I'm trying to scrape a Facebook Group data but couldn't do that as I am facing following error :
ScraperException: Code container ID marker not found (does the group exist?)

How to reproduce

import snscrape

# Fetch the Facebook posts
count = 10
for i, post in enumerate(snscrape.modules.facebook.FacebookGroupScraper('instantdata').get_items()):
    if i > count:
        break

This is the shortest possible code that causes the error.

Expected behaviour

import snscrape

# Fetch the Facebook posts
count = 10
for i, post in enumerate(snscrape.modules.facebook.FacebookGroupScraper('instantdata').get_items()):
    if i > count:
        break

This is the code I am using to scrape data and it should return me scraped data.

Screenshots and recordings

image

Operating system

Windows 11

Python version: output of python3 --version

Python 3.10.11

snscrape version: output of snscrape --version

snscrape 0.7.0.20230622

Scraper

FacebookGroupScraper

How are you using snscrape?

Module (import snscrape.modules.something in Python code)

Backtrace

No response

Log output

No response

Dump of locals

No response

Additional context

No response

@Subhan-Zaheer Subhan-Zaheer added the bug Something isn't working label Jul 4, 2023
@TheTechRobo
Copy link
Contributor

Duplicate of #121?

@JustAnotherArchivist JustAnotherArchivist added duplicate This issue or pull request already exists and removed bug Something isn't working labels Jul 4, 2023
@JustAnotherArchivist JustAnotherArchivist closed this as not planned Won't fix, can't repro, duplicate, stale Jul 4, 2023
@Subhan-Zaheer
Copy link
Author

Duplicate of #121?

Yes same issue.

@Subhan-Zaheer
Copy link
Author

Duplicate of #121?

Yes same issue.

What should i do now ? is there any way to solve it ?

@JustAnotherArchivist
Copy link
Owner

If an issue is open, it means it is not fixed. If a workaround existed, it would be mentioned there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants