fbruch


Namefbruch JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/jepluk/fbruch
SummarySimple python library using graph api and scraping.
upload_time2024-07-18 01:52:25
maintainerNone
docs_urlNone
authorErrucha (jepluk)
requires_pythonNone
licenseNone
keywords fb facebook fb-api facebook-api facebook-graph bruteforce facebook-scraping fb-scraping scraping
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # About
A simple Facebook library focused on Facebook brut3f0rce.
```bash
pip install fbruch
```

# API: First access
Example code
```python
from fbruch import Api

# Login using cookies string.
# Download cookies using the cookiedough extension
fb = Api(cookies='cookie string')
# Login using email and password 
fb = Api(mailpass={'email': 'fbmail@gmail.com', 'password': 'fbpassword'})

print(fb.islogin) # if login success
print(fb.token) # your facebook token
```

# API: Account info
Get name and user id facebook

Example code
```python
info = fb.account_info(id='meizug')
print(info)
```

# API: Dump friendlist
Get name and user id friendlist using graph api

Example code
```python
dump = fb.dump_friendlist(id='meizug', cursor=None)
print(dump)
```

# UTILS: Password generator
Create a list of passwords from names.

Example code
```python
from fbruch.utils import password_generator

password = password_generator(name='dinda ayunda')
print(password)
```

# LOGIN: Facebook login
Example code
```python
from fbruch import Login

fb = Login(subdomain='mbasic')
response = fb.__regular__(email='mailfb@gmail.com', password='facebook password')
print(response)
```
Example success output
```python
{'status': True, 'data': {'session': b'example session', 'useragent': 'Useragent example', 'email': 'output@gmail.com', 'password': 'example password', 'cookies_string': 'example cookies'}, 'error': None}
```
Subdomain list
- mbasic
- d
- m
- free
- touch


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jepluk/fbruch",
    "name": "fbruch",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "fb, facebook, fb-api, facebook-api, facebook-graph, bruteforce, facebook-scraping, fb-scraping, scraping",
    "author": "Errucha (jepluk)",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/e9/f8/7a0f63f6557f145daa7a35d16d528e837ecd74352c4264c58e3a3ca7122a/fbruch-1.0.2.tar.gz",
    "platform": null,
    "description": "# About\nA simple Facebook library focused on Facebook brut3f0rce.\n```bash\npip install fbruch\n```\n\n# API: First access\nExample code\n```python\nfrom fbruch import Api\n\n# Login using cookies string.\n# Download cookies using the cookiedough extension\nfb = Api(cookies='cookie string')\n# Login using email and password \nfb = Api(mailpass={'email': 'fbmail@gmail.com', 'password': 'fbpassword'})\n\nprint(fb.islogin) # if login success\nprint(fb.token) # your facebook token\n```\n\n# API: Account info\nGet name and user id facebook\n\nExample code\n```python\ninfo = fb.account_info(id='meizug')\nprint(info)\n```\n\n# API: Dump friendlist\nGet name and user id friendlist using graph api\n\nExample code\n```python\ndump = fb.dump_friendlist(id='meizug', cursor=None)\nprint(dump)\n```\n\n# UTILS: Password generator\nCreate a list of passwords from names.\n\nExample code\n```python\nfrom fbruch.utils import password_generator\n\npassword = password_generator(name='dinda ayunda')\nprint(password)\n```\n\n# LOGIN: Facebook login\nExample code\n```python\nfrom fbruch import Login\n\nfb = Login(subdomain='mbasic')\nresponse = fb.__regular__(email='mailfb@gmail.com', password='facebook password')\nprint(response)\n```\nExample success output\n```python\n{'status': True, 'data': {'session': b'example session', 'useragent': 'Useragent example', 'email': 'output@gmail.com', 'password': 'example password', 'cookies_string': 'example cookies'}, 'error': None}\n```\nSubdomain list\n- mbasic\n- d\n- m\n- free\n- touch\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Simple python library using graph api and scraping.",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/jepluk/fbruch"
    },
    "split_keywords": [
        "fb",
        " facebook",
        " fb-api",
        " facebook-api",
        " facebook-graph",
        " bruteforce",
        " facebook-scraping",
        " fb-scraping",
        " scraping"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ad94836453cf695caa8c882045a174867466c93ffb9dc3f7033bf205e510543",
                "md5": "dd923bdaa2d3fe33ae2bfaaba61b7b47",
                "sha256": "f5c824fd2527225557b215f3cf6f2d72411852167dbe80210b70421252fa2314"
            },
            "downloads": -1,
            "filename": "fbruch-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dd923bdaa2d3fe33ae2bfaaba61b7b47",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5411,
            "upload_time": "2024-07-18T01:52:23",
            "upload_time_iso_8601": "2024-07-18T01:52:23.832423Z",
            "url": "https://files.pythonhosted.org/packages/7a/d9/4836453cf695caa8c882045a174867466c93ffb9dc3f7033bf205e510543/fbruch-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9f87a0f63f6557f145daa7a35d16d528e837ecd74352c4264c58e3a3ca7122a",
                "md5": "bec2ecca214474dfa9c50e67025d997e",
                "sha256": "1195910cd6379be1b82cc84cd77a3e52453288704bdeb44d0a703cb922439929"
            },
            "downloads": -1,
            "filename": "fbruch-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "bec2ecca214474dfa9c50e67025d997e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4843,
            "upload_time": "2024-07-18T01:52:25",
            "upload_time_iso_8601": "2024-07-18T01:52:25.449491Z",
            "url": "https://files.pythonhosted.org/packages/e9/f8/7a0f63f6557f145daa7a35d16d528e837ecd74352c4264c58e3a3ca7122a/fbruch-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-18 01:52:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jepluk",
    "github_project": "fbruch",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "fbruch"
}
        
Elapsed time: 0.76393s