Skip to content

Commit

Permalink
generateReadme: Refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jul 29, 2024
1 parent bc33d98 commit 9595397
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 693 deletions.
48 changes: 24 additions & 24 deletions .github/push_templates_to_algolia.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"id": "aa0e3e6f-1260-4452-8abf-7c084e26c8a4",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-09T10:07:11.088218Z",
"iopub.status.busy": "2024-07-09T10:07:11.088018Z",
"iopub.status.idle": "2024-07-09T10:07:11.163633Z",
"shell.execute_reply": "2024-07-09T10:07:11.162967Z"
"iopub.execute_input": "2024-07-29T07:50:08.138034Z",
"iopub.status.busy": "2024-07-29T07:50:08.137743Z",
"iopub.status.idle": "2024-07-29T07:50:08.212986Z",
"shell.execute_reply": "2024-07-29T07:50:08.212430Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -95,10 +95,10 @@
"id": "cfa97168-63eb-4e8c-89c3-0a5d26f47740",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-09T10:07:11.166770Z",
"iopub.status.busy": "2024-07-09T10:07:11.166361Z",
"iopub.status.idle": "2024-07-09T10:07:11.169746Z",
"shell.execute_reply": "2024-07-09T10:07:11.169096Z"
"iopub.execute_input": "2024-07-29T07:50:08.215819Z",
"iopub.status.busy": "2024-07-29T07:50:08.215433Z",
"iopub.status.idle": "2024-07-29T07:50:08.218724Z",
"shell.execute_reply": "2024-07-29T07:50:08.218142Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -141,10 +141,10 @@
"id": "7a9c86c2-931d-4113-abbc-31b3f517b6c4",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-09T10:07:11.172424Z",
"iopub.status.busy": "2024-07-09T10:07:11.172022Z",
"iopub.status.idle": "2024-07-09T10:07:11.255775Z",
"shell.execute_reply": "2024-07-09T10:07:11.255022Z"
"iopub.execute_input": "2024-07-29T07:50:08.221325Z",
"iopub.status.busy": "2024-07-29T07:50:08.221149Z",
"iopub.status.idle": "2024-07-29T07:50:08.303661Z",
"shell.execute_reply": "2024-07-29T07:50:08.302982Z"
},
"tags": []
},
Expand Down Expand Up @@ -178,10 +178,10 @@
"id": "c50e96b2-4403-413c-a99a-9243be0c0a04",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-09T10:07:11.258632Z",
"iopub.status.busy": "2024-07-09T10:07:11.258238Z",
"iopub.status.idle": "2024-07-09T10:07:12.498305Z",
"shell.execute_reply": "2024-07-09T10:07:12.497693Z"
"iopub.execute_input": "2024-07-29T07:50:08.306342Z",
"iopub.status.busy": "2024-07-29T07:50:08.306144Z",
"iopub.status.idle": "2024-07-29T07:50:08.875987Z",
"shell.execute_reply": "2024-07-29T07:50:08.875356Z"
},
"tags": []
},
Expand Down Expand Up @@ -230,10 +230,10 @@
"id": "da661ba3-fd15-4abc-bd4f-d13ae77b82b0",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-09T10:07:12.501124Z",
"iopub.status.busy": "2024-07-09T10:07:12.500730Z",
"iopub.status.idle": "2024-07-09T10:07:15.459487Z",
"shell.execute_reply": "2024-07-09T10:07:15.458808Z"
"iopub.execute_input": "2024-07-29T07:50:08.878692Z",
"iopub.status.busy": "2024-07-29T07:50:08.878483Z",
"iopub.status.idle": "2024-07-29T07:50:09.735273Z",
"shell.execute_reply": "2024-07-29T07:50:09.734630Z"
},
"tags": []
},
Expand All @@ -260,10 +260,10 @@
"id": "f1482a8f-4ce5-4e04-93c8-ddd883375d67",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-09T10:07:15.462235Z",
"iopub.status.busy": "2024-07-09T10:07:15.461917Z",
"iopub.status.idle": "2024-07-09T10:07:15.572142Z",
"shell.execute_reply": "2024-07-09T10:07:15.571456Z"
"iopub.execute_input": "2024-07-29T07:50:09.737907Z",
"iopub.status.busy": "2024-07-29T07:50:09.737525Z",
"iopub.status.idle": "2024-07-29T07:50:09.848518Z",
"shell.execute_reply": "2024-07-29T07:50:09.847916Z"
},
"tags": []
},
Expand Down
177 changes: 30 additions & 147 deletions Instagram/Instagram_Get_comments_from_post.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"source": [
"# Instagram - Get comments from post\n",
"<a href=\"https://bit.ly/3JyWIk6\">Give Feedback</a> | <a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=bug&template=bug_report.md&title=Instagram+-+Post+image+and+caption:+Error+short+description\">Bug report</a>"
"<a href=\"https://bit.ly/3JyWIk6\">Give Feedback</a> | <a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=bug&template=bug_report.md&title=Instagram+-+Get+comments+from+post:+Error+short+description\">Bug report</a>"
]
},
{
Expand Down Expand Up @@ -74,15 +74,21 @@
{
"cell_type": "markdown",
"id": "88ed8bb2-2694-4848-a3ef-afc0f4e65e07",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### How to retrive API key with apify"
]
},
{
"cell_type": "markdown",
"id": "0fca1344-877b-417d-94f0-1f024a029523",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"1. Go to https://apify.com.\n",
"2. Click \"Sign up for free\" and use your google account to sign up.\n",
Expand Down Expand Up @@ -118,13 +124,6 @@
"execution_count": 1,
"id": "d40e70c0-a388-417b-a50f-c50bb82cc0b3",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-24T09:17:53.144020Z",
"iopub.status.busy": "2024-07-24T09:17:53.143601Z",
"iopub.status.idle": "2024-07-24T09:17:53.884427Z",
"shell.execute_reply": "2024-07-24T09:17:53.883642Z",
"shell.execute_reply.started": "2024-07-24T09:17:53.143947Z"
},
"papermill": {},
"tags": []
},
Expand Down Expand Up @@ -162,13 +161,6 @@
"execution_count": 7,
"id": "ce903236-60d1-4087-a31e-9321f2df6112",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-24T09:23:44.112883Z",
"iopub.status.busy": "2024-07-24T09:23:44.112639Z",
"iopub.status.idle": "2024-07-24T09:23:44.115836Z",
"shell.execute_reply": "2024-07-24T09:23:44.115219Z",
"shell.execute_reply.started": "2024-07-24T09:23:44.112859Z"
},
"papermill": {},
"tags": []
},
Expand All @@ -193,7 +185,10 @@
{
"cell_type": "markdown",
"id": "d87a82f5-cb30-4f63-84e0-01ebe1b3fc7e",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Scrape post comments"
]
Expand All @@ -203,13 +198,7 @@
"execution_count": 3,
"id": "aa4ffac8-3c12-483a-a312-0eb7ff17ffa1",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-24T09:17:53.890462Z",
"iopub.status.busy": "2024-07-24T09:17:53.890084Z",
"iopub.status.idle": "2024-07-24T09:18:11.543588Z",
"shell.execute_reply": "2024-07-24T09:18:11.542798Z",
"shell.execute_reply.started": "2024-07-24T09:17:53.890430Z"
},
"papermill": {},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -255,7 +244,10 @@
{
"cell_type": "markdown",
"id": "3d771a70-1245-4702-9014-324ae540d8ec",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Dataframe structure function"
]
Expand All @@ -265,13 +257,8 @@
"execution_count": 4,
"id": "01deb84d-abd7-4975-ab77-973fe84acf0f",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-24T09:18:11.547048Z",
"iopub.status.busy": "2024-07-24T09:18:11.546861Z",
"iopub.status.idle": "2024-07-24T09:18:11.551670Z",
"shell.execute_reply": "2024-07-24T09:18:11.551119Z",
"shell.execute_reply.started": "2024-07-24T09:18:11.547027Z"
}
"papermill": {},
"tags": []
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -320,111 +307,10 @@
"execution_count": 5,
"id": "c7ac65a4-dd93-43c4-8090-c86a2aa28898",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-24T09:18:11.552842Z",
"iopub.status.busy": "2024-07-24T09:18:11.552615Z",
"iopub.status.idle": "2024-07-24T09:18:11.873573Z",
"shell.execute_reply": "2024-07-24T09:18:11.873017Z",
"shell.execute_reply.started": "2024-07-24T09:18:11.552814Z"
},
"papermill": {},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>ID</th>\n",
" <th>TEXT</th>\n",
" <th>USERNAME</th>\n",
" <th>PROFILE_PICTURE</th>\n",
" <th>TIMESTAMP</th>\n",
" <th>LIKES_COUNT</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>17858772584879006</td>\n",
" <td>Promote it on @writing._.skill</td>\n",
" <td>aditya__.7443</td>\n",
" <td>https://instagram.fhyw1-1.fna.fbcdn.net/v/t51....</td>\n",
" <td>2023-01-25T01:20:12.000Z</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>17842757270932646</td>\n",
" <td>Promote at @Thewriters_heaven</td>\n",
" <td>skylarsrwriter</td>\n",
" <td>https://instagram.fhyw1-1.fna.fbcdn.net/v/t51....</td>\n",
" <td>2023-01-25T01:22:15.000Z</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>17945160482350602</td>\n",
" <td>@Its_chetram_4444</td>\n",
" <td>skylarsrwriter</td>\n",
" <td>https://instagram.fhyw1-1.fna.fbcdn.net/v/t51....</td>\n",
" <td>2023-01-25T01:22:22.000Z</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>18007951324553277</td>\n",
" <td>Promote at @TheAuthors.World 💫</td>\n",
" <td>author__mack16</td>\n",
" <td>https://instagram.fhyw1-1.fna.fbcdn.net/v/t51....</td>\n",
" <td>2023-01-25T01:24:59.000Z</td>\n",
" <td>0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" ID TEXT USERNAME \\\n",
"0 17858772584879006 Promote it on @writing._.skill aditya__.7443 \n",
"1 17842757270932646 Promote at @Thewriters_heaven skylarsrwriter \n",
"2 17945160482350602 @Its_chetram_4444 skylarsrwriter \n",
"3 18007951324553277 Promote at @TheAuthors.World 💫 author__mack16 \n",
"\n",
" PROFILE_PICTURE \\\n",
"0 https://instagram.fhyw1-1.fna.fbcdn.net/v/t51.... \n",
"1 https://instagram.fhyw1-1.fna.fbcdn.net/v/t51.... \n",
"2 https://instagram.fhyw1-1.fna.fbcdn.net/v/t51.... \n",
"3 https://instagram.fhyw1-1.fna.fbcdn.net/v/t51.... \n",
"\n",
" TIMESTAMP LIKES_COUNT \n",
"0 2023-01-25T01:20:12.000Z 0 \n",
"1 2023-01-25T01:22:15.000Z 0 \n",
"2 2023-01-25T01:22:22.000Z 0 \n",
"3 2023-01-25T01:24:59.000Z 0 "
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"data = []\n",
"\n",
Expand All @@ -446,7 +332,10 @@
{
"cell_type": "markdown",
"id": "636d22d3-beac-4de3-9ea8-6232e9cdcc6c",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Save dataframe to csv"
]
Expand All @@ -456,13 +345,7 @@
"execution_count": 6,
"id": "be26e796-6c38-4152-a0b8-49f51b617a6f",
"metadata": {
"execution": {
"iopub.execute_input": "2024-07-24T09:18:11.875551Z",
"iopub.status.busy": "2024-07-24T09:18:11.875052Z",
"iopub.status.idle": "2024-07-24T09:18:12.151858Z",
"shell.execute_reply": "2024-07-24T09:18:12.151261Z",
"shell.execute_reply.started": "2024-07-24T09:18:11.875517Z"
},
"papermill": {},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -490,8 +373,8 @@
"version": "3.9.6"
},
"naas": {
"notebook_id": "38c44121d518d242dcfd1209fca1b300a11475f5836b8ae8f214c0b4524816a9",
"notebook_path": "Instagram/Instagram_Post_image_and_caption.ipynb"
"notebook_id": "b6e3846eb40c5332f91bd4ecf0d69a6dd62796c712d8b898e0468afd2315cfd8",
"notebook_path": "Instagram/Instagram_Get_comments_from_post.ipynb"
},
"papermill": {
"default_parameters": {},
Expand All @@ -503,4 +386,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3486,6 +3486,7 @@ We are committed to sharing templates and giving shout outs to the contributors

## Instagram
* [Extract details from account](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Instagram/Instagram_Extract_details_from_account.ipynb)
* [Get comments from post](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Instagram/Instagram_Get_comments_from_post.ipynb)
* [Get stats from posts](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Instagram/Instagram_Get_stats_from_posts.ipynb)
* [Post image and caption](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Instagram/Instagram_Post_image_and_caption.ipynb)

Expand Down Expand Up @@ -4498,6 +4499,7 @@ We are committed to sharing templates and giving shout outs to the contributors
* [Get followers list](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Twitter/Twitter_Get_followers_list.ipynb)
* [Get members of list](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Twitter/Twitter_Get_members_of%20list.ipynb)
* [Get posts stats](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Twitter/Twitter_Get_posts_stats.ipynb)
* [Get tweets by username](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Twitter/Twitter_Get_tweets_by_username.ipynb)
* [Get tweets from search](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Twitter/Twitter_Get_tweets_from_search.ipynb)
* [Get tweets stats from profile](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Twitter/Twitter_Get_tweets_stats_from_profile.ipynb)
* [Get user data](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Twitter/Twitter_Get_user_data.ipynb)
Expand Down
Loading

0 comments on commit 9595397

Please sign in to comment.