{ "info": { "author": "Chanwoo Park", "author_email": "parkchan@brandeis.edu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.5", "Topic :: Database", "Topic :: Internet :: WWW/HTTP :: Browsers" ], "description": "# BrowserHistory Module\n\nbrowserhistory is a simple Python module that extracts browser history from a user's local computer and writes the data to csv files.\n\nPlatforms: Linux, MacOS, and Windows.\nSuported Browsers: Firefox, Google Chrome, and Safari. \n\n## Installation\n```sh\n$ python3 -m pip install browserhistory\n```\n\nor \n\n```sh\n$ git clone https://github.com/kcp18/browserhistory\n```\n\n## Overview\n### Functions:\n- get_browserhistory() -> dict\n- get_database_paths() -> dict\n- get_username() -> str\n- write_browserhistory_csv() -> None\n\n\n#### Example:\n```python\nExample\n=======\n>>> import browserhistory as bh\n>>> dict_obj = bh.get_browserhistory()\n>>> dict_obj.keys()\n>>> dict_keys(['safari', 'chrome', 'firefox'])\n>>> dict_obj['safari'][0]\n>>> ('https://mail.google.com', 'Mail', '2018-08-14 08:27:26')\n# Write the data to csv files in the current working directory.\n# safari_browserhistory.csv, chrome_browserhistory.csv, and firefox_browerhistory.csv.\n>>> bh.write_browserhistory_csv()\n# Create csv files that contain broswer history\n```\n\n### The Description of browserhistory\n\n```\nNAME\n\n browserhistory\n\nFUNCTIONS\n\n get_browserhistory() -> dict\n Get the user's browser history by using sqlite3 module to connect to the dabase.\n It returns a dictionary: its key is a name of browser in str and its value is a list of\n tuples, each tuple contains four elements, including url, title, and visited_time. \n\n get_database_paths() -> dict\n Get paths to the database of browsers and store them in a dictionary.\n It returns a dictionary: its key is the name of browser in str and its value is the path to database in str.\n\n get_username() -> str\n Get username based on their local computers\n\n write_browserhistory_csv() -> None\n It writes csv files that contain the browser history in\n the current working directory. It will writes csv files base on \n the name of browsers the program detects.\n```\n\n### Issue Report \n\n\nIf you have any questions or find bugs in the module, \nplease report the issues/questions at the follwing address.\n\n- https://github.com/kcp18/browserhistory/issues\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kcp18/browserhistory", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "browserhistory", "package_url": "https://pypi.org/project/browserhistory/", "platform": "Linux", "project_url": "https://pypi.org/project/browserhistory/", "project_urls": { "Homepage": "https://github.com/kcp18/browserhistory" }, "release_url": "https://pypi.org/project/browserhistory/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A simple module to extract browsers's history.", "version": "0.1.2" }, "last_serial": 4802574, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f9bc3a40c376172f5192ceac06295a06", "sha256": "aa84e8de3c7fdb37ad649df6aad6715ab7ee4f775a68ed1647db38d35d1ef177" }, "downloads": -1, "filename": "browserhistory-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f9bc3a40c376172f5192ceac06295a06", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4311, "upload_time": "2018-08-20T16:35:32", "url": "https://files.pythonhosted.org/packages/af/b4/ce05871b4c9c9ede0e8ce155f562fb69d841f67f8252a937a1c2e7480075/browserhistory-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b6ca0729c38f448673c25192a0903f3", "sha256": "a6e7c14bcd1fa0864b0266971d5eeeb4cd0ea77845b8a6f4b9fb87d1d1a23406" }, "downloads": -1, "filename": "browserhistory-0.1.tar.gz", "has_sig": false, "md5_digest": "3b6ca0729c38f448673c25192a0903f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3769, "upload_time": "2018-08-20T16:35:33", "url": "https://files.pythonhosted.org/packages/ae/68/6c17e3420a9cb1783a47bc0ae80db4cf7e3695bcb1ace498f01295508485/browserhistory-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d51fce0448b12c6a8305e0576b4a1be5", "sha256": "230df894caaad19c0a7f7860e03cf82eff665748d63954ac9ad3429904454513" }, "downloads": -1, "filename": "browserhistory-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d51fce0448b12c6a8305e0576b4a1be5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5111, "upload_time": "2019-02-07T19:06:45", "url": "https://files.pythonhosted.org/packages/4d/d5/f761219eaa8c9ac78e44b4dcaa0557e1ede8c994c5babf76da9dd33ab51b/browserhistory-0.1.1-py3-none-any.whl" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "68166327f443e389657a1e1ca2ca7b34", "sha256": "4124637fae79a4e61c96d0d261bb6c22767e6eecf406dd97cee30737a4f93bc3" }, "downloads": -1, "filename": "browserhistory-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "68166327f443e389657a1e1ca2ca7b34", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5122, "upload_time": "2019-02-10T16:31:11", "url": "https://files.pythonhosted.org/packages/51/08/85a5334822b3bb458a996603a40b0c61c13d50db7d0daa47c417faaa7197/browserhistory-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4a767479d2780270a723b2b6cee9aab", "sha256": "196cd4739787ce848ded276ef4ca1dde83c43a7004623a047f99d6e1c8bd20e7" }, "downloads": -1, "filename": "browserhistory-0.1.2.tar.gz", "has_sig": false, "md5_digest": "f4a767479d2780270a723b2b6cee9aab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3734, "upload_time": "2019-02-10T16:31:13", "url": "https://files.pythonhosted.org/packages/80/5b/1d634fa9c8a290049da72de1d44121d6f4d2ae56b04bd6a778b3169580f1/browserhistory-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "68166327f443e389657a1e1ca2ca7b34", "sha256": "4124637fae79a4e61c96d0d261bb6c22767e6eecf406dd97cee30737a4f93bc3" }, "downloads": -1, "filename": "browserhistory-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "68166327f443e389657a1e1ca2ca7b34", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5122, "upload_time": "2019-02-10T16:31:11", "url": "https://files.pythonhosted.org/packages/51/08/85a5334822b3bb458a996603a40b0c61c13d50db7d0daa47c417faaa7197/browserhistory-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4a767479d2780270a723b2b6cee9aab", "sha256": "196cd4739787ce848ded276ef4ca1dde83c43a7004623a047f99d6e1c8bd20e7" }, "downloads": -1, "filename": "browserhistory-0.1.2.tar.gz", "has_sig": false, "md5_digest": "f4a767479d2780270a723b2b6cee9aab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3734, "upload_time": "2019-02-10T16:31:13", "url": "https://files.pythonhosted.org/packages/80/5b/1d634fa9c8a290049da72de1d44121d6f4d2ae56b04bd6a778b3169580f1/browserhistory-0.1.2.tar.gz" } ] }