{ "info": { "author": "wtayyeb", "author_email": "wtayyeb@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "Django Brokenlinks\n==================\n\nlog brokenlinks to logfile and config fail2ban to ban crawlers hitting many 404 pages.\n \nRequirements\n------------\n\n`django-appconf`\n\n\nInstallation\n------------\n\n::\n\n $ pip install django-brokenlinks\n\n\nSetup\n-----\n\n1. Add ``'brokenlinks'`` to INSTALLED_APPS\n2. Add ``'brokenlinks.middleware.BrokenLinkEmailsMiddleware'`` to ``MIDDLEWARE_CLASSES``\n3. Set the ``BROKENLINKS_LOG_PATH``\n4. After change in brokenlinks configs run ``manage.py createbrokenlinksconfs`` once and use the result conf-files with fail2ban \n \nyour settings.py will look like below:\n\n\n INSTALLED_APPS = (\n # ...\n 'brokenlinks',\n # ...\n )\n\n MIDDLEWARE_CLASSES= (\n 'brokenlinks.middleware.BrokenLinkEmailsMiddleware',\n # ...\n )\n \n BROKENLINKS_LOG_PATH = '/path/to/brokenlinks.log'\n\n\nthen config fail2ban to use it\n\n\nAuthor\n-----\n\n* w.Tayyeb", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wtayyeb/django-brokenlinks", "keywords": "django brokenlinks", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-brokenlinks", "package_url": "https://pypi.org/project/django-brokenlinks/", "platform": "any", "project_url": "https://pypi.org/project/django-brokenlinks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/wtayyeb/django-brokenlinks" }, "release_url": "https://pypi.org/project/django-brokenlinks/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "reusable django app to log crawlers hitting many 404 pages.", "version": "0.1.1" }, "last_serial": 2471279, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "83346d008ad9b28d3c39e055c02476e9", "sha256": "30d261d0257ed09ee26928e7d0ae728df0733f9cc4cd3ed02b4b9590a9ed566b" }, "downloads": -1, "filename": "django_brokenlinks-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "83346d008ad9b28d3c39e055c02476e9", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6856, "upload_time": "2016-03-07T16:53:09", "url": "https://files.pythonhosted.org/packages/06/da/daa13e2fd757705f4462d53847cb8c12a5b1966da6ee86dfea0c995de95b/django_brokenlinks-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c693339ebbc2f20dce4c726e4d5fe30", "sha256": "d48d0228959582bdec9c1deb023568d8888393c515d054883b9ad67ac5aa36d1" }, "downloads": -1, "filename": "django-brokenlinks-0.1.0.zip", "has_sig": false, "md5_digest": "9c693339ebbc2f20dce4c726e4d5fe30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8191, "upload_time": "2016-03-07T16:53:31", "url": "https://files.pythonhosted.org/packages/e3/6d/618cefc13945eb85e3ae68661c0bbd9aca214cca53d517291df8d2ecd79a/django-brokenlinks-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "673ae29b494a91d0241cb416717e3f7b", "sha256": "82dd859ea14263b20ec6d3803933d4524aee08fb66a936d00c45f2b5fdbf1859" }, "downloads": -1, "filename": "django_brokenlinks-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "673ae29b494a91d0241cb416717e3f7b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6982, "upload_time": "2016-11-20T02:51:14", "url": "https://files.pythonhosted.org/packages/6c/32/85668753f2fb74accaaf07551c3989ed7e89c8900d72624690465453e7bc/django_brokenlinks-0.1.1-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "673ae29b494a91d0241cb416717e3f7b", "sha256": "82dd859ea14263b20ec6d3803933d4524aee08fb66a936d00c45f2b5fdbf1859" }, "downloads": -1, "filename": "django_brokenlinks-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "673ae29b494a91d0241cb416717e3f7b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6982, "upload_time": "2016-11-20T02:51:14", "url": "https://files.pythonhosted.org/packages/6c/32/85668753f2fb74accaaf07551c3989ed7e89c8900d72624690465453e7bc/django_brokenlinks-0.1.1-py2-none-any.whl" } ] }