{"id":13747173,"url":"https://github.com/dinhanhx/PerceiveYourMeme","last_synced_at":"2025-05-09T08:31:43.030Z","repository":{"id":112393418,"uuid":"294913859","full_name":"dinhanhx/PerceiveYourMeme","owner":"dinhanhx","description":"A Python library to scrap from https://knowyourmeme.com/ . Written in Python 3.7!","archived":false,"fork":false,"pushed_at":"2024-02-17T15:35:38.000Z","size":81,"stargazers_count":14,"open_issues_count":6,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T23:51:40.138Z","etag":null,"topics":["beginner-friendly","bs4","dataset","hacktoberfest","knowyourmeme","library","meme","memes","memes-api","python-3","python3","scrap","urllib3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dinhanhx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-09-12T09:40:35.000Z","updated_at":"2025-03-03T10:04:19.000Z","dependencies_parsed_at":"2025-04-12T23:51:40.876Z","dependency_job_id":"2fc0beec-33f7-4bfe-aa28-220292395119","html_url":"https://github.com/dinhanhx/PerceiveYourMeme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinhanhx%2FPerceiveYourMeme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinhanhx%2FPerceiveYourMeme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinhanhx%2FPerceiveYourMeme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinhanhx%2FPerceiveYourMeme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinhanhx","download_url":"https://codeload.github.com/dinhanhx/PerceiveYourMeme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253217015,"owners_count":21872995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beginner-friendly","bs4","dataset","hacktoberfest","knowyourmeme","library","meme","memes","memes-api","python-3","python3","scrap","urllib3"],"created_at":"2024-08-03T06:01:19.111Z","updated_at":"2025-05-09T08:31:42.764Z","avatar_url":"https://github.com/dinhanhx.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# PerceiveYourMeme (PyM)\n\n\u003cimg src=\"mics_img/PyM.png\" style=\"width: 25%; height: 25%\"\u003e\n\n![](https://img.shields.io/badge/Python-3-blue)\n\n![](https://img.shields.io/badge/license-MIT-green)\n\n[![](https://img.shields.io/badge/Author-Vu%20Dinh%20Anh-red)](https://github.com/dinhanhx)\n\n## What is this?\n\nA Python library to scrap from [KnowYourMeme](https://knowyourmeme.com/). Written in Python 3.7!\n\n## How to set up this library?\n\nBefore setting up this library, it is recommended to checkout this file `PerceiveYourMeme/CONST.py`, there are 2 constants you may want to modify.\n\n```Python\nHEADERS = {'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36 Edg/85.0.564.44'}\n# User-Agent headers\n# This HEADERS can be achieved by going to this link\n# https://www.whatismybrowser.com/detect/what-is-my-user-agent\n# If you are smart and have time, https://developers.whatismybrowser.com/api/\n\nDEFAULT_DOWNLOAD_PATH = ''\n# Define default download path\n# This depends on OS\n# If you are smart and have time, https://stackoverflow.com/questions/35851281/python-finding-the-users-downloads-folder\n```\n\nClone this repository and run this command at root\n\n`pip install -r req.txt .` (The last parameter is a dot `.`)\n\n## How to use this library?\n\nSince I am too busy to checkout at [readthedocs](https://readthedocs.org/), so please checkout [`DOCUMENTATION.md`](DOCUMENTATION.md)\n\n## What are applications of this library?\n- For archiving memes data from KnowYourMeme (Obviously)\n- For building dataset for memes detection such as [Memes Detection Android App using Deep Learning](https://medium.com/datadriveninvestor/memes-detection-android-app-using-deep-learning-d2c65347e6f3) or [Hateful Memes Challenge and data set for research on harmful multimodal content](https://ai.facebook.com/blog/hateful-memes-challenge-and-data-set/)\n- For entertaining purposes such as a discord meme bot (TBH Reddit is still better source for getting memes)\n\nIf you use this library for different purposes from mentioned one, it is recommended to add your purposes and links to your project to this section.\n\n## Known issues\n- Chance of being bans from KnowYourMeme [Issue #6](https://github.com/dinhanhx/PerceiveYourMeme/issues/6)\n- Randomly failling when testing with Travis-CI [Issue #15](https://github.com/dinhanhx/PerceiveYourMeme/issues/15)\n\n## Ascii art\n```\n.,;;,,,,,'.                   .;cc'         .:c:.        \n.::.   ..,:,.                 .cllc.       .:lll.        \n.:;.     .;c. .'.       .''.  .c:;c:.     .;c,:l'        \n.:;.     .::. ;OO;     ,kKO;  'l:.,l;     ,l,.;o,        \n.::.....':;.   l0x.   .d00l.  'o; .:l'   .c:. ,o;        \n.:c;,,,,'.     .o0o.  c0d;.   ,o,  .lc. .:c.  'o:.       \n.:;.            .x0c.,Ok'     ;o'   ,l;.,l'   'l:.       \n.:;.             ,kkcdO;     .:l'   .:l:c;    .lc.       \n.::.              ;OK0c      .cl.    .loc.    .cl.       \n.'.               .xKo.      .''.     .'.      ',.       \n                  'dOl.                                   \n                  ,oOk:.                                    \n                  .:l,.                                      \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinhanhx%2FPerceiveYourMeme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinhanhx%2FPerceiveYourMeme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinhanhx%2FPerceiveYourMeme/lists"}