{ "info": { "author": "Brett Settle", "author_email": "brettjsettle@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# RedditBrowser\n\nScrape subreddits and slideshow through images or posts with a timer. Images are cached to the temp directory, and removed on close. (Check the temp directory to make sure images are deleted.)\n\n## Requirements\n- BeautifulSoup4\n\n## Install\n\nRedwall is available on PyPi. Just run\n\n`pip install redwall`\n\nto get the latest version.\n\nUse cases:\n\n```bash\n# For the screensaver version that iterates through images on a time schedule\nredwall_screensaver [--subreddit SUBREDDIT] [--previd previd]\n [--score score] [--nsfwo] [--nsfw] [--title title]\n [-i INTERVAL] [-v]\n\n# For manual control and more options, use this command\nredwall_control [--subreddit SUBREDDIT] [--previd previd]\n [--score score] [--nsfwo] [--nsfw] [--title title] [-v]\n\n```\n\nEach entry point is utilizes the reddit_scraper.RedditScraper iterable class to step through posts and images on the subreddit of your choice. To use the RedditScraper class in your own project, simply import it with some settings:\n```python\nfrom redwall.reddit_scraper import RedditScraper\n\n# initialize the scraper with filters\nscraper = RedditScraper(previd='', subreddit='wallpapers', title='', score=100, nsfw=False, sfw=True)\n\n# prescrape posts for speed\nscraper.getPosts(5)\n\n# get the next post\npost = scraper.next()\n\n#update a filter and get the next post\nscraper.update('subreddit', 'wallpaperdump')\npost = scraper.next()\n\n# set wallpaper to the first image in the post\nfrom redwall.set_wallpaper import set_wallpaper\nimage = post.images[0]\nimage.download()\nset_wallpaper(image.path)\n\n# iterate through images\nfor image in scraper.imageIter():\n # returns None when no more images can be loaded\n if image == None:\n break\n print(\"Image at %s\" % image.url)\n```\n\n#### Windowed Branch\nThe windowed branch is an older version of redwall that runs in a PyQt window. It is buggy and crashes on occassion, but is useful if you don't want to change your actual wallpaper. Checkout the branch and run `python main.py` to see it work.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "redwall", "package_url": "https://pypi.org/project/redwall/", "platform": "", "project_url": "https://pypi.org/project/redwall/", "project_urls": null, "release_url": "https://pypi.org/project/redwall/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A reddit image/post scraper", "version": "0.1.2" }, "last_serial": 4358757, "releases": { "0.0.8": [ { "comment_text": "", "digests": { "md5": "b03e8b22812bb2381a6412c6304d2aba", "sha256": "bffda6b9e218ad7f726f737b2e4b719c3019e79a6d66753c9e956f061642acf4" }, "downloads": -1, "filename": "redwall-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "b03e8b22812bb2381a6412c6304d2aba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31676, "upload_time": "2017-06-09T16:23:12", "url": "https://files.pythonhosted.org/packages/86/79/ef5b39cbb7d91af32261de014bc85f66ed937685f3fcb7c0bbef5f29bdf4/redwall-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4833591f1db163a2f7f9b898a463b961", "sha256": "15796b2b72e181c5473ccdb1b7824a6cda4bd8081b8493ec89b37d7d52efb003" }, "downloads": -1, "filename": "redwall-0.0.8.tar.gz", "has_sig": false, "md5_digest": "4833591f1db163a2f7f9b898a463b961", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28594, "upload_time": "2017-06-09T16:23:13", "url": "https://files.pythonhosted.org/packages/6e/56/a20e01acb2d74b6b20e31c2a857caa4fd24ea57205d738fc60f9683e044e/redwall-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "fa0a7e3f4b2d7234debf9c663577e433", "sha256": "004edbc3ce87c331f706661b21aff8063e0b0b81f34d7610068163abeceb71b1" }, "downloads": -1, "filename": "redwall-0.0.9-py3-none-any.whl", "has_sig": false, "md5_digest": "fa0a7e3f4b2d7234debf9c663577e433", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18375, "upload_time": "2017-08-23T23:26:36", "url": "https://files.pythonhosted.org/packages/80/ab/e78817fc1e4e9d3bd72ceba1e1a238f9361e9b7067a57195dd4f4fcf3896/redwall-0.0.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6123efbd205322b21c01c9e336645519", "sha256": "05b413323a283665065fb3d7f3d9d4e0798f45651d91b31d7e720229ce160ed2" }, "downloads": -1, "filename": "redwall-0.0.9.tar.gz", "has_sig": false, "md5_digest": "6123efbd205322b21c01c9e336645519", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14863, "upload_time": "2017-08-23T23:26:37", "url": "https://files.pythonhosted.org/packages/a6/07/71dd82f13570e626a5391f373ed1aaf453aaa9c5b799085e8386c9696d39/redwall-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "ef0b8eb371d25c7f8d6cfc1b87e26a30", "sha256": "0305ba19463e9e25db64267440966c0ee0f86960185974d433ed92b03dbc4ac7" }, "downloads": -1, "filename": "redwall-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ef0b8eb371d25c7f8d6cfc1b87e26a30", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18991, "upload_time": "2017-08-24T00:34:14", "url": "https://files.pythonhosted.org/packages/44/b2/863747403801428c5e1aa338b183994ffa3b3711b7bac88b1c6e6a51df18/redwall-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e29e9a34f127f6834c8a0b8689ab8f45", "sha256": "0c8c59014fcb7e1244c9294b823089cf40b670827da775713b40cb6ec6d9ca57" }, "downloads": -1, "filename": "redwall-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e29e9a34f127f6834c8a0b8689ab8f45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15448, "upload_time": "2017-08-24T00:34:16", "url": "https://files.pythonhosted.org/packages/ee/cd/8e3d2e1750996b74455f0c10256c9a7e8993ef87911736e5805fb9fe4cc8/redwall-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4d7095c8c25fe830217b45b01cbb9c78", "sha256": "940b6452cac6365359842d92ed53bea33b21af5bb18af30622d56701c2edcbca" }, "downloads": -1, "filename": "redwall-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4d7095c8c25fe830217b45b01cbb9c78", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20628, "upload_time": "2017-08-25T18:29:56", "url": "https://files.pythonhosted.org/packages/33/b7/b11d2fcbe52b5189003af0468bf746c1cfdeaf7216071c60944d36fdae01/redwall-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5de453406b632465e1329c1f7cb5e23a", "sha256": "8bec0fcd889628e41576829c8b4227fb2be907939886dcf774804fa0494143bf" }, "downloads": -1, "filename": "redwall-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5de453406b632465e1329c1f7cb5e23a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16757, "upload_time": "2017-08-25T18:29:57", "url": "https://files.pythonhosted.org/packages/4d/e8/e469b566f6797af7e589ca754cd4585d521a31c468bd5ddc0e1694847be6/redwall-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "cba5f0c9019286c7f36306530ecb77ad", "sha256": "6a4986987a066bbf0ab50e88b1ca2b27055375f9f9e72922977df95206d43e27" }, "downloads": -1, "filename": "redwall-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cba5f0c9019286c7f36306530ecb77ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15968, "upload_time": "2018-10-10T05:32:17", "url": "https://files.pythonhosted.org/packages/f1/d9/0c5e4379a8234080dc7c36f1116b302209a3f42177955318ad4cf1525b62/redwall-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cba5f0c9019286c7f36306530ecb77ad", "sha256": "6a4986987a066bbf0ab50e88b1ca2b27055375f9f9e72922977df95206d43e27" }, "downloads": -1, "filename": "redwall-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cba5f0c9019286c7f36306530ecb77ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15968, "upload_time": "2018-10-10T05:32:17", "url": "https://files.pythonhosted.org/packages/f1/d9/0c5e4379a8234080dc7c36f1116b302209a3f42177955318ad4cf1525b62/redwall-0.1.2.tar.gz" } ] }