nitter


Namenitter JSON
Version 0.0.5 PyPI version JSON
download
home_pagehttps://github.com/iAliF/Nitter/
SummaryNitter is a simple library to scrap Twitter data using the Nitter website
upload_time2023-08-15 01:20:04
maintainer
docs_urlNone
authorAli Fotouhi
requires_python
licenseMIT
keywords nitter twitter twitter scraper
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Nitter

Simple **Twitter** scraper using **[Nitter](https://nitter.moomoo.me/)**

For now, It's used only to scrap media (images)

## How To Install

You can use the following command to install it.

```
pip install nitter
```

## Getting Started

```python
from nitter import Nitter

n = Nitter()
from nitter import Nitter

nitter = Nitter()
username = "X"

for media in nitter.get_media(username):
    print("Caption:", media.caption)
    print("Pub Date:", media.pub_date)
    print("Images:", "\n".join(img.src for img in media.images), "\n")
```

## Licence

[MIT](https://github.com/iAliF/Nitter/blob/master/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/iAliF/Nitter/",
    "name": "nitter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Nitter,Twitter,Twitter Scraper",
    "author": "Ali Fotouhi",
    "author_email": "the.alif.dev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/af/03/ac4503c8b9a9aa7f5aca847394b9256c2f1f9abd72cdf4d17a3d8028f618/nitter-0.0.5.tar.gz",
    "platform": null,
    "description": "# Nitter\r\n\r\nSimple **Twitter** scraper using **[Nitter](https://nitter.moomoo.me/)**\r\n\r\nFor now, It's used only to scrap media (images)\r\n\r\n## How To Install\r\n\r\nYou can use the following command to install it.\r\n\r\n```\r\npip install nitter\r\n```\r\n\r\n## Getting Started\r\n\r\n```python\r\nfrom nitter import Nitter\r\n\r\nn = Nitter()\r\nfrom nitter import Nitter\r\n\r\nnitter = Nitter()\r\nusername = \"X\"\r\n\r\nfor media in nitter.get_media(username):\r\n    print(\"Caption:\", media.caption)\r\n    print(\"Pub Date:\", media.pub_date)\r\n    print(\"Images:\", \"\\n\".join(img.src for img in media.images), \"\\n\")\r\n```\r\n\r\n## Licence\r\n\r\n[MIT](https://github.com/iAliF/Nitter/blob/master/LICENSE)\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Nitter is a simple library to scrap Twitter data using the Nitter website",
    "version": "0.0.5",
    "project_urls": {
        "Bug Tracker": "https://github.com/iAliF/Nitter/issues",
        "Documentation": "https://github.com/iAliF/Nitter/",
        "Download": "https://github.com/iAliF/Nitter/archive/refs/tags/v0.0.5-alpha.zip",
        "Homepage": "https://github.com/iAliF/Nitter/",
        "Source": "https://github.com/iAliF/Nitter/"
    },
    "split_keywords": [
        "nitter",
        "twitter",
        "twitter scraper"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02188a13f45a1b328d327f1c2bd81db4133f1a44a1d99e0c666a3995862f3990",
                "md5": "85712fa1d0a4ffe93cb769075690b54e",
                "sha256": "edbafaec03128ac59faaac8f471826582126de4ca77209ad5f280a580c5116df"
            },
            "downloads": -1,
            "filename": "nitter-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "85712fa1d0a4ffe93cb769075690b54e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4283,
            "upload_time": "2023-08-15T01:20:03",
            "upload_time_iso_8601": "2023-08-15T01:20:03.557363Z",
            "url": "https://files.pythonhosted.org/packages/02/18/8a13f45a1b328d327f1c2bd81db4133f1a44a1d99e0c666a3995862f3990/nitter-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "af03ac4503c8b9a9aa7f5aca847394b9256c2f1f9abd72cdf4d17a3d8028f618",
                "md5": "d5eecb101e000881030191174ca31ec8",
                "sha256": "e222ec9bc6553063992df4d8d2d479a775f5fe242a1dac0f2adfaba685e461a8"
            },
            "downloads": -1,
            "filename": "nitter-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "d5eecb101e000881030191174ca31ec8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3769,
            "upload_time": "2023-08-15T01:20:04",
            "upload_time_iso_8601": "2023-08-15T01:20:04.840107Z",
            "url": "https://files.pythonhosted.org/packages/af/03/ac4503c8b9a9aa7f5aca847394b9256c2f1f9abd72cdf4d17a3d8028f618/nitter-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-15 01:20:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "iAliF",
    "github_project": "Nitter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "nitter"
}
        
Elapsed time: 0.10668s