Metadata-Version: 2.1
Name: fbgs
Version: 1.0.0
Summary: Python and selenium based (mobile) Facebook groups scraper, independent of obfuscated css selectors.
Home-page: https://github.com/lesander/facebook-group-scraper
License: UNKNOWN
Description: # Facebook group scraper
        
        A simple selenium-dependent python scraper for Facebook groups.
        
        Requirements:
        - Python 3.6 or newer
        - Selenium (automatically installed)
        
        ## Installing
        
        ```shell
        # pypi
        pip3 install fbgs
        
        # local
        git clone https://github.com/lesander/facebook-group-scraper.git
        cd facebook-group-scraper/
        pip3 install -r requirements.txt
        ```
        
        ## Usage
        
        Cli usage:
        ```shell
        # local & pypi
        python3 -m fbgs \
        --username user@example.com \
        --password "example-password" \
        --url https://m.facebook.com/groups/group-name \
        --output ./path/for/output.json \
        --no-shell  # toggle to disable default selenium interactive prompt
        ```
        
        Programmatic usage:
        ```python
        from fbgs import FacebookScraper
        from fbgs.exceptions import ScraperException
        try:
            scraper = FacebookScraper(
                username="user@example.com", password="example-password")
            scraper.login()
            g = scraper.scrape_group(url="https://m.facebook.com/groups/group-name", out="output-example.json")
            scraper.interactive()
        except ScraperException as e:
            print(f'ScraperException: {e}')
        ```
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
