{ "info": { "author": "Akash Ahmed", "author_email": "aksben65@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "link\\_Preview\n=============\n\nA python module that gathers elements required for linkPreview.\n\nOverview\n--------\n\nlink\\_preview is now a fashionable way of sharing links in social media.\nThe contents of what the preview is made up are:-\n\n::\n\n 1. og.title:-\n Title of the preview. \n In HTML: \n Value: XYZ\n \n 2. og.description:-\n Description of the preview.\n In HTML: \n Value: XYZ\n \n 3. og.image:-\n Image of the preview.\n In HTML: \n Value: XYZ\n \n 4. title:-\n if 'og:title' is not found, this becomes the Title.\n In HTML: XYZ\n Value: XYZ\n \n 5. meta description:-\n if 'og:description' is not found, this becomes the Description.\n In HTML: \n Value: XYZ\n \n 6. favicon:-\n if 'og:image' is not found, this becomes the Image.\n In HTML: \n Value: XYZ\n \n 7. website:-\n Host website for the link.\n \n\nReference:- `richpreview `__ (from where I\nlearned)\n\nThis module fetches all these data and combines those into a dictionary.\n\nA sample WhatsApp link\\_preview:-\n\n::\n\n #######################################\n # I # Title #\n # M # Description #\n # A # #\n # G # website #\n # E # #\n #######################################\n\nUsage:-\n\n::\n\n from link_preview import link_preview\n dict_elem = link_preview.generate_dict(url) # this is a dict()\n \n # Access values\n title = dict_elem['title']\n description = dict_elem['description']\n image = dict_elem['image']\n website = dict_elem['website']\n\nInsatallation\n-------------\n\nTo install from pip, use the following command\n\n::\n\n pip install link_preview\n\nto update, use\n\n::\n\n pip install -U link_preview\n\nLicense\n-------\n\nMIT", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/aakash4525/py_link_preview/archive/v1.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aakash4525/py_link_preview", "keywords": "preview,link", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "link_preview", "package_url": "https://pypi.org/project/link_preview/", "platform": "all", "project_url": "https://pypi.org/project/link_preview/", "project_urls": { "Download": "https://github.com/aakash4525/py_link_preview/archive/v1.0.tar.gz", "Homepage": "https://github.com/aakash4525/py_link_preview" }, "release_url": "https://pypi.org/project/link_preview/1.0/", "requires_dist": null, "requires_python": null, "summary": "Python package to get elements that make link preview", "version": "1.0" }, "last_serial": 2847441, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c63dae7a601a28c1b28e087acb7ee31e", "sha256": "4aab56cef7f84c832a203325083422a3eee991c32d4b7f5a9b9155043495d2f9" }, "downloads": -1, "filename": "link_preview-0.1.zip", "has_sig": false, "md5_digest": "c63dae7a601a28c1b28e087acb7ee31e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2706, "upload_time": "2017-04-30T11:50:52", "url": "https://files.pythonhosted.org/packages/6c/ee/06c475b7e647671358e36ddcfe2655d83f74e6df342d397cac0e33fd7977/link_preview-0.1.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "d84d121784c3fd0404c065fb35517d9b", "sha256": "da37315105dab29d1aaa380fa964aef1afef21af6db3042b0cf89079233f5357" }, "downloads": -1, "filename": "link_preview-0.2.zip", "has_sig": false, "md5_digest": "d84d121784c3fd0404c065fb35517d9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2711, "upload_time": "2017-04-30T12:05:10", "url": "https://files.pythonhosted.org/packages/dc/61/288645717e5880ae06b7bea936b0191eb67b35c8e3478402ed9a4135cce5/link_preview-0.2.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "49164d555dabfd08071334a272cd4bdf", "sha256": "530d00b67f478f1cdcce089d83e02e6cd2974a6fae0552d519673f84cc7e2414" }, "downloads": -1, "filename": "link_preview-0.3.zip", "has_sig": false, "md5_digest": "49164d555dabfd08071334a272cd4bdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3607, "upload_time": "2017-05-01T22:05:13", "url": "https://files.pythonhosted.org/packages/76/b9/0fffb47dc928854739ec1d8fb2eb356d994e3ee5493cf649143e493b5c8d/link_preview-0.3.zip" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "ecaa8fabbafb11eb93d5150a96c9144f", "sha256": "f2ea8ef2a489ea99eade13268effe54a4988dd7f7303a4bacb9a39f084a6a796" }, "downloads": -1, "filename": "link_preview-0.4.zip", "has_sig": false, "md5_digest": "ecaa8fabbafb11eb93d5150a96c9144f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3594, "upload_time": "2017-05-01T22:15:16", "url": "https://files.pythonhosted.org/packages/b3/9e/3a7f2017bbe49730b888a3916848f4e1abb42883d11f4bed282a39179e7e/link_preview-0.4.zip" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "ff68afcfaf1a56b46fa459f69da91cce", "sha256": "bb7c5b0754d5c3043fd7846afaa6312c264f07831c5c4954bc5061e708eeae5a" }, "downloads": -1, "filename": "link_preview-0.5.zip", "has_sig": false, "md5_digest": "ff68afcfaf1a56b46fa459f69da91cce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3611, "upload_time": "2017-05-01T22:27:33", "url": "https://files.pythonhosted.org/packages/cd/d7/cb3b746af6c251b9df802fe4772aeb8da9243a7eb5f677616ad804fb568d/link_preview-0.5.zip" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "53be5f7c117031be3523d1adc9e17e65", "sha256": "bd3c8f3721c155dcc1adcbc93f25fb49bdd9089d249d1b9e2612a13fbd2b7848" }, "downloads": -1, "filename": "link_preview-0.6.zip", "has_sig": false, "md5_digest": "53be5f7c117031be3523d1adc9e17e65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3620, "upload_time": "2017-05-01T22:35:36", "url": "https://files.pythonhosted.org/packages/70/dc/b5a0fe7de002fdb829ad141d6e605a4af3bc2ddc0ef3e9e4ab1823a66cde/link_preview-0.6.zip" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "555a79272aff89af2c17700e349d1e7c", "sha256": "0e9373b3e0f1becab93f9f93f07c5b01b103089f0c499bfe5e47b3f737926970" }, "downloads": -1, "filename": "link_preview-0.7.zip", "has_sig": false, "md5_digest": "555a79272aff89af2c17700e349d1e7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3628, "upload_time": "2017-05-01T23:02:21", "url": "https://files.pythonhosted.org/packages/ff/f3/451dd5ee90c55feeee71f627f9c8d9fe1105d6d5ae31caceed5fd8a2a604/link_preview-0.7.zip" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "49db283c01428bc24999a4763a5e6440", "sha256": "b5c842062dbf25e92597de7249880dc024c00b27c09e0905cf6b52dbd58fa921" }, "downloads": -1, "filename": "link_preview-0.9.zip", "has_sig": false, "md5_digest": "49db283c01428bc24999a4763a5e6440", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4488, "upload_time": "2017-05-01T23:35:00", "url": "https://files.pythonhosted.org/packages/2c/af/6eccc0cbe4183c32428cd442296974725dec1c331a976901afd0d2e416ca/link_preview-0.9.zip" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "590a956775d14779f23e0464cc37868a", "sha256": "d08c1c16d4f127f0f31ba0b5f8fd47581b01c178429181931af806398a9e8034" }, "downloads": -1, "filename": "link_preview-1.0.zip", "has_sig": false, "md5_digest": "590a956775d14779f23e0464cc37868a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4530, "upload_time": "2017-05-02T19:50:57", "url": "https://files.pythonhosted.org/packages/fb/10/0e71c62b1cf3d9f4983bd5d2defc269571e354ed2d5d1c67de58665390eb/link_preview-1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "590a956775d14779f23e0464cc37868a", "sha256": "d08c1c16d4f127f0f31ba0b5f8fd47581b01c178429181931af806398a9e8034" }, "downloads": -1, "filename": "link_preview-1.0.zip", "has_sig": false, "md5_digest": "590a956775d14779f23e0464cc37868a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4530, "upload_time": "2017-05-02T19:50:57", "url": "https://files.pythonhosted.org/packages/fb/10/0e71c62b1cf3d9f4983bd5d2defc269571e354ed2d5d1c67de58665390eb/link_preview-1.0.zip" } ] }