{ "info": { "author": "Kenneth Reitz", "author_email": "me@kennethreitz.org", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\nTwitter Scraper\n===============\n\nTwitter's API is annoying to work with, and has lots of limitations \u2014\nluckily their frontend (JavaScript) has it's own API, which I reverse\u2013engineered.\nNo API rate limits. No restrictions. Extremely fast.\n\nYou can use this library to get the text of any user's Tweets trivially.\n\nVery useful for making markov chains.\n\nUsage\n=====\n\n.. code-block:: pycon\n\n >>> from twitter_scraper import get_tweets\n\n >>> for tweet in get_tweets('kennethreitz', pages=1):\n >>> print(tweet['text'])\n P.S. your API is a user interface\n s3monkey just hit 100 github stars! Thanks, y\u2019all!\n I\u2019m not sure what this /dev/fd/5 business is, but it\u2019s driving me up the wall.\n \u2026\n\nIt appears you can ask for up to 25 pages of tweets reliably (~486 tweets).\n\nMarkov Example\n==============\n\nFirst, install markovify:\n\n.. code-block:: shell\n\n $ pipenv install markovify\n\n.. code-block:: pycon\n\n >>> import markovify\n\n >>> tweets = '\\n'.join([t['text'] for t in get_tweets('kennethreitz', pages=25)])\n >>> text_model = markovify.Text(tweets)\n\n >>> print(text_model.make_short_sentence(140))\n Wtf you can\u2019t use APFS on a prototype for \u201cdjango-heroku\u201d, which does a lot out of me.\n\nInstallation\n============\n\n.. code-block:: shell\n\n $ pipenv install twitter-scraper\n\nOnly Python 3.6+ is supported\n\n\nLICENSE\n=======\n\nMIT\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kennethreitz/twitter-scraper", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "twitter-scraper", "package_url": "https://pypi.org/project/twitter-scraper/", "platform": "", "project_url": "https://pypi.org/project/twitter-scraper/", "project_urls": { "Homepage": "https://github.com/kennethreitz/twitter-scraper" }, "release_url": "https://pypi.org/project/twitter-scraper/0.3.0/", "requires_dist": [ "requests-html" ], "requires_python": "", "summary": "Scrape the Twitter Frontend API without authentication.", "version": "0.3.0" }, "last_serial": 4831174, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "63388fc5115de7f0a714db7148bd97cb", "sha256": "a39cc92b73e48282366292c810ab4d65737c3c1470a6b7c03327c114f1f5e7de" }, "downloads": -1, "filename": "twitter_scraper-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "63388fc5115de7f0a714db7148bd97cb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3913, "upload_time": "2018-02-22T15:17:01", "url": "https://files.pythonhosted.org/packages/71/93/948f123909633cf07c27058cf55002c38ff1ca7bd04b078f57f3abcff166/twitter_scraper-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f94a74115ad6ac9f2a966803c20e931", "sha256": "ab90addbd4dc632a1cb75060529801e9cbf21fe83a4e8e315151e114f43f0f99" }, "downloads": -1, "filename": "twitter-scraper-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2f94a74115ad6ac9f2a966803c20e931", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3153, "upload_time": "2018-02-22T15:17:12", "url": "https://files.pythonhosted.org/packages/6c/f0/f9c0f66fc1e115328ff3d6e0fb5571202942f2cddb3246c6d9f7c058b3de/twitter-scraper-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6183c90865ef8f19e8d5c09969e34bf9", "sha256": "08dd5f9c5f107f8e9cad4201506bae2f7d408fad1addf42465a643fae7f2bc9e" }, "downloads": -1, "filename": "twitter_scraper-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6183c90865ef8f19e8d5c09969e34bf9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3946, "upload_time": "2018-02-22T15:25:36", "url": "https://files.pythonhosted.org/packages/14/b5/4574246653ae655fd3d06abf10789b84c42d622ebb625699f99d6f0c7651/twitter_scraper-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "44257fa3c112c3950d100371735515f7", "sha256": "1685b88523981dd1bf9034a47f1149fb2ca24036a8bbd5adc68259e435585a62" }, "downloads": -1, "filename": "twitter-scraper-0.1.1.tar.gz", "has_sig": false, "md5_digest": "44257fa3c112c3950d100371735515f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3167, "upload_time": "2018-02-22T15:25:37", "url": "https://files.pythonhosted.org/packages/5d/da/7c65790de5a98baee081d7357b904d7da2030251111bb71c99c6321b24b4/twitter-scraper-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1fe890a74f9fa6edf2ede31bc46db495", "sha256": "cfe29216c819272d0b14d117540c3c403c8c20d3c674a4c5f5617500ba756c7f" }, "downloads": -1, "filename": "twitter_scraper-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1fe890a74f9fa6edf2ede31bc46db495", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4404, "upload_time": "2018-02-24T18:29:58", "url": "https://files.pythonhosted.org/packages/44/03/b55d283b7d2a33ea770d3e08d60354de3309cb69f976afd226bf29b13fbf/twitter_scraper-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6164014f071d3ae88f46e0a72c68dea2", "sha256": "8397a135cd16f737079cd7e88b7884ab919f6bd76a1e3a9c385c14cfe7fe6155" }, "downloads": -1, "filename": "twitter-scraper-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6164014f071d3ae88f46e0a72c68dea2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3527, "upload_time": "2018-02-24T18:29:59", "url": "https://files.pythonhosted.org/packages/f1/cb/dd4569cd186ca00d373758ee24cd0f1b2aa8faa0e5ac890775befbf21d18/twitter-scraper-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "13769ef4e4a86a137f45be6ed23ddd77", "sha256": "3460e0e20a4829a92599a29009af8cecd60e38cf3bffdba9f46ae5b3b8bd318f" }, "downloads": -1, "filename": "twitter_scraper-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "13769ef4e4a86a137f45be6ed23ddd77", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4450, "upload_time": "2018-02-26T15:35:08", "url": "https://files.pythonhosted.org/packages/c3/e9/38b96c1c942897c3d831fdfef5f41f90f6d02b601a6fed53ff634358f387/twitter_scraper-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b56502793c47d98c5823909a625076bb", "sha256": "98e6d9ec723c509e9a395bb07cd7c227bd8e7ac04d4e9dfe897a1f9b275de3d4" }, "downloads": -1, "filename": "twitter-scraper-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b56502793c47d98c5823909a625076bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3567, "upload_time": "2018-02-26T15:35:10", "url": "https://files.pythonhosted.org/packages/5f/d4/ee94bfbc83dca63ed1043594af7ca5993371495afba655178dc90d7caadf/twitter-scraper-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "79e68055f1c6e2ccc4950516ac0f70d0", "sha256": "7032fbdcf62080241dddef64677d18fedd3a4cce130a5a03a75c66754a8a7d27" }, "downloads": -1, "filename": "twitter_scraper-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "79e68055f1c6e2ccc4950516ac0f70d0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4453, "upload_time": "2018-03-03T13:30:46", "url": "https://files.pythonhosted.org/packages/c0/34/f47c6b53c2e8996c1bfc2a6f9152addd10be2eea0bf496fbf4e5ab326f4d/twitter_scraper-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68cf612d6adc084b6eb69da673e17879", "sha256": "29ed35b0c46cb9b3bce2e1ce906dafcf8eb361827bdcc6a203d181d06c62eeea" }, "downloads": -1, "filename": "twitter-scraper-0.2.1.tar.gz", "has_sig": false, "md5_digest": "68cf612d6adc084b6eb69da673e17879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3561, "upload_time": "2018-03-03T13:30:47", "url": "https://files.pythonhosted.org/packages/c9/cc/2eb1598158a2593165535ea14533ec7e35772bd7319276d104d1d44b35fb/twitter-scraper-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "ad61f74b5904ba12f919d4678d93da6b", "sha256": "05a68592a966dde41332499105f9faa93b69e6f622c2ef1d68c767e8629bf551" }, "downloads": -1, "filename": "twitter_scraper-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ad61f74b5904ba12f919d4678d93da6b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5057, "upload_time": "2018-03-21T11:20:39", "url": "https://files.pythonhosted.org/packages/8e/45/5956a93dea033407dfd160497f7965ec3785b15b1f8cfbf3c3327e768b08/twitter_scraper-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b24dff562feeebd7d29559b4de76319", "sha256": "405bcaed6e5eaf95d798101d0ce61b237314366d91f56997146ec6b098751bee" }, "downloads": -1, "filename": "twitter-scraper-0.3.0.tar.gz", "has_sig": false, "md5_digest": "4b24dff562feeebd7d29559b4de76319", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4164, "upload_time": "2018-03-21T11:20:41", "url": "https://files.pythonhosted.org/packages/e0/90/9eb2ccd0bb02ad91ed11ef0bd32ae3d90c502b396fb6ec584a66a661226b/twitter-scraper-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad61f74b5904ba12f919d4678d93da6b", "sha256": "05a68592a966dde41332499105f9faa93b69e6f622c2ef1d68c767e8629bf551" }, "downloads": -1, "filename": "twitter_scraper-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ad61f74b5904ba12f919d4678d93da6b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5057, "upload_time": "2018-03-21T11:20:39", "url": "https://files.pythonhosted.org/packages/8e/45/5956a93dea033407dfd160497f7965ec3785b15b1f8cfbf3c3327e768b08/twitter_scraper-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b24dff562feeebd7d29559b4de76319", "sha256": "405bcaed6e5eaf95d798101d0ce61b237314366d91f56997146ec6b098751bee" }, "downloads": -1, "filename": "twitter-scraper-0.3.0.tar.gz", "has_sig": false, "md5_digest": "4b24dff562feeebd7d29559b4de76319", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4164, "upload_time": "2018-03-21T11:20:41", "url": "https://files.pythonhosted.org/packages/e0/90/9eb2ccd0bb02ad91ed11ef0bd32ae3d90c502b396fb6ec584a66a661226b/twitter-scraper-0.3.0.tar.gz" } ] }