{ "info": { "author": "Filip Osowski", "author_email": "filiposowski5@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3" ], "description": "craigslist-monitor\n==================\n\n| A monitor for craigslist searches.\n| *\\*Does not work on Windows.*\n\nThe craigslist monitor uses a command line interface to create web\nscrapers which monitor craigslist searches for new listings. A scraper\nmonitoring a search will check periodically for new listings and output\ntheir details into a text file.\n\nMonitoring a craigslist search\n------------------------------\n\nFirst, create a manager which will oversee active scrapers:\n\n::\n\n cmonitor manager\n\n| **If cmonitor is not installed as a script, try re-installing with** ``sudo pip install craigslist-monitor``\n\nNext, to add a scraper, three things must be specified in the following order:\n\n1. The name of the scraper (used for stopping the scraper).\n2. The name of the item to be searched and monitored __or__ the url of a craigslist search.\n3. The file that the scraper will output details of new items to.\n\n::\n\n cmonitor add computer_scraper computer output\n\nThe above example of a scraper would monitor\n`this `__\ncraigslist search for new listings. There are other options to further\ncustomize the scraper listed under ``cmonitor add --help``.\n\nTo stop the scraper:\n\n::\n\n cmonitor manager -s computer_scraper\n\nAlternatively, to quit both, the manager and any active scrapers:\n\n::\n\n cmonitor manager -q\n\nCommands/Flags\n--------------\n\nManager\n~~~~~~~\n\n- To list the names of all active scrapers: ``cmonitor manager -l``\n- To quit the manager and all active scrapers: ``cmonitor manager -q``\n- To stop an active scraper: ``cmonitor manager -s ``\n\nAdd\n~~~\n\n- If a listing contains words specified by \u2013exclude-words, the scraper\n will not output the details of that listing:\n ``cmonitor add -e [words...]``\n- If \u2013renewals is used, the scraper will output the details of listings\n that have been renewed (off by default):\n ``cmonitor add -r``\n- The two positive digits following \u2013time-refresh are used with\n random.randrange to determine how long (in seconds) until the scraper\n checks for new listing (default is 60 and 180):\n ``cmonitor add -t 200 300``\n\nAdditional Help\n---------------\n\n.. _add-1:\n\nAdd\n~~~\n\n::\n\n usage: cmonitor add [-h] [-r] [-e word [word ...]] [-t pos_int pos_int]\n name monitor output\n\n Add an item (craigslist search) to be monitored.\n\n positional arguments:\n name The name of the process.\n monitor The url of a craigslist search or the item name to be\n monitored.\n output The file to which items found by the monitor will be\n written to\n\n optional arguments:\n -h, --help show this help message and exit\n -r, --renewals Include old posts that are renewed.\n -e word [word ...], --exclude-words word [word ...]\n Exclude posts that contain these words (not case\n sensitive).\n -t pos_int pos_int, --time-refresh pos_int pos_int\n The two positive integers used with randrange(lower,\n upper) to determine how long (in seconds) until the\n scraper checks for new items (first integer must be\n lower than the second). The default is 60 and 180.\n\n.. _manager-1:\n\nManager\n~~~~~~~\n\n::\n\n usage: cmonitor manager [-h] [-q | -l | -s scraper_name]\n\n Starts the manager if issued with no commands.\n\n optional arguments:\n -h, --help show this help message and exit\n -q, --quit Quits the manager and all scrapers\n -l, --list List all the currently running scrapers\n -s scraper_name, --stop scraper_name\n Stop the named scraper\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/FilipOsowski/craigslist-monitor", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "craigslist-monitor", "package_url": "https://pypi.org/project/craigslist-monitor/", "platform": "", "project_url": "https://pypi.org/project/craigslist-monitor/", "project_urls": { "Homepage": "https://github.com/FilipOsowski/craigslist-monitor" }, "release_url": "https://pypi.org/project/craigslist-monitor/0.1.7/", "requires_dist": [ "python-daemon (>=2.0.0)", "requests (>=2.0.0)", "lxml (>=4.0.0)" ], "requires_python": "~=3.0", "summary": "A monitor for craigslist searches.", "version": "0.1.7" }, "last_serial": 3902012, "releases": { "0.1.4": [ { "comment_text": "", "digests": { "md5": "426f00dc8d5d1bb25eb565f83daf3e87", "sha256": "fdd62931dd1ebac7e94c00609653f68a6b1c5e6e8587d2e930b65f05064c6d2d" }, "downloads": -1, "filename": "craigslist_monitor-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "426f00dc8d5d1bb25eb565f83daf3e87", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.0", "size": 13002, "upload_time": "2018-04-27T03:13:52", "url": "https://files.pythonhosted.org/packages/de/52/a9bbbd87a6ed3eb6ef7cb22887ccdf32b53bad7f96777a7f96b845f474d0/craigslist_monitor-0.1.4-py3-none-any.whl" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "92df668bd1460649c54c22d3a42c6b8c", "sha256": "d52c0402f70030ecb19f0b2fbf7d85a36ce068b036ec7e7551758f6848979efe" }, "downloads": -1, "filename": "craigslist_monitor-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "92df668bd1460649c54c22d3a42c6b8c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.0", "size": 12988, "upload_time": "2018-05-26T16:58:45", "url": "https://files.pythonhosted.org/packages/06/61/3293879ca2e25b804924729524e2bf8154714c64f2b2782b81e7d19da4a2/craigslist_monitor-0.1.5-py3-none-any.whl" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "0703b2d426da834503df9107e9d0d622", "sha256": "ce4a80b3f9829b81b4cfe599c9c24f45cf00929b49e16393278afaf3a421e4f3" }, "downloads": -1, "filename": "craigslist_monitor-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "0703b2d426da834503df9107e9d0d622", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.0", "size": 12983, "upload_time": "2018-05-26T17:02:10", "url": "https://files.pythonhosted.org/packages/55/52/8c02293207f2c23f7bbc90bcc3eb76cc54a6e455b1c4f5b282ea99ee512b/craigslist_monitor-0.1.6-py3-none-any.whl" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "a35af85708238f51bb4ab6e6ff90d367", "sha256": "012bbdb786f0ab35c37719b99517ecae87cf2f836eedfed389c10f12d217c35e" }, "downloads": -1, "filename": "craigslist_monitor-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "a35af85708238f51bb4ab6e6ff90d367", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.0", "size": 12990, "upload_time": "2018-05-26T19:21:17", "url": "https://files.pythonhosted.org/packages/9b/c2/4ce7a142d360639befc75a22d18168a18ebfdc9a750642a60f9e5d8ff80d/craigslist_monitor-0.1.7-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a35af85708238f51bb4ab6e6ff90d367", "sha256": "012bbdb786f0ab35c37719b99517ecae87cf2f836eedfed389c10f12d217c35e" }, "downloads": -1, "filename": "craigslist_monitor-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "a35af85708238f51bb4ab6e6ff90d367", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.0", "size": 12990, "upload_time": "2018-05-26T19:21:17", "url": "https://files.pythonhosted.org/packages/9b/c2/4ce7a142d360639befc75a22d18168a18ebfdc9a750642a60f9e5d8ff80d/craigslist_monitor-0.1.7-py3-none-any.whl" } ] }