Skip to content

Commit

Permalink
Fixed 1 site, PyInstaller workflow, Google Colab example (#1558)
Browse files Browse the repository at this point in the history
* Updated example colab file (Due to latest update)

* Fix RobertsSpaceIndustries URI

* Fix PyInstaller workflow

* Fix example.ipynb (read desc.)

Currently the version installed via pip3 doesn't appear to contain the latest data.json file, resulting in many false positives..

* Fix non-existant users (read desc.)

Fixed non-existant usernames for the following:
Telegram (t.me)
TikBuddy (tikbuddy.com)
FurAffinity (furaffinity.net)
  • Loading branch information
Ixve authored Oct 21, 2024
1 parent 1cb589e commit 05db32f
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: PyInstaller Windows
uses: JackMcKew/pyinstaller-action-windows@python3-10-pyinstaller-5-3
uses: JackMcKew/pyinstaller-action-windows@main
with:
path: pyinstaller

Expand Down
105 changes: 40 additions & 65 deletions example.ipynb
Original file line number Diff line number Diff line change
@@ -1,68 +1,43 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "8v6PEfyXb0Gx"
},
"outputs": [],
"source": [
"# clone the repo\n",
"!git clone https://github.com/soxoj/maigret\n",
"!pip3 install -r maigret/requirements.txt"
]
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "cXOQUAhDchkl"
},
"outputs": [],
"source": [
"# help\n",
"!python3 maigret/maigret.py --help"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "SjDmpN4QGnJu"
},
"outputs": [],
"source": [
"# search\n",
"!python3 maigret/maigret.py user"
]
}
],
"metadata": {
"colab": {
"collapsed_sections": [],
"include_colab_link": true,
"name": "maigret.ipynb",
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
}
},
"nbformat": 4,
"nbformat_minor": 1
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "acxNWJOUmLc4"
},
"outputs": [],
"source": [
"!git clone https://github.com/soxoj/maigret\n",
"!pip3 install ./maigret/\n",
"from IPython.display import clear_output\n",
"clear_output()\n",
"username = str(input(\"Username >> \"))\n",
"!maigret {username} -a -n 10"
]
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "S3SmapMHmOoD"
},
"execution_count": null,
"outputs": []
}
]
}
8 changes: 4 additions & 4 deletions maigret/resources/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -5209,7 +5209,7 @@
],
"url": "https://www.furaffinity.net/user/{username}",
"usernameClaimed": "uehkon89",
"usernameUnclaimed": "noonewouldeverusethis7"
"usernameUnclaimed": "noonewouldeverusethis9"
},
"FUTBIN": {
"disabled": true,
Expand Down Expand Up @@ -15098,7 +15098,7 @@
"checkType": "status_code",
"alexaRank": 22154,
"urlMain": "https://robertsspaceindustries.com/",
"url": "https://https://robertsspaceindustries.com/citizens/{username}",
"url": "https://robertsspaceindustries.com/citizens/{username}",
"usernameClaimed": "blue",
"usernameUnclaimed": "noonewouldeverusethis7"
},
Expand Down Expand Up @@ -15892,7 +15892,7 @@
"urlMain": "https://t.me/",
"url": "https://t.me/{username}",
"usernameClaimed": "BotFather",
"usernameUnclaimed": "noonewouldevereverusethis7"
"usernameUnclaimed": "noonewouldevereverusethis9"
},
"Teletype": {
"tags": [
Expand Down Expand Up @@ -31778,7 +31778,7 @@
"url": "https://tikbuddy.com/en/tiktok/{username}",
"urlMain": "https://tikbuddy.com",
"usernameClaimed": "sergey.ivanov29",
"usernameUnclaimed": "noonewouldeverusethis7",
"usernameUnclaimed": "noonewouldeverusethis9",
"checkType": "message",
"alexaRank": 187661,
"source": "TikTok",
Expand Down

0 comments on commit 05db32f

Please sign in to comment.