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 3, 2024
1 parent 2c8467f commit 1ed2b45
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 165 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-06-28T11:12:11.586206Z",
"iopub.status.busy": "2024-06-28T11:12:11.585741Z",
"iopub.status.idle": "2024-06-28T11:12:11.658561Z",
"shell.execute_reply": "2024-06-28T11:12:11.657933Z"
"iopub.execute_input": "2024-07-03T07:38:26.295055Z",
"iopub.status.busy": "2024-07-03T07:38:26.294548Z",
"iopub.status.idle": "2024-07-03T07:38:26.367737Z",
"shell.execute_reply": "2024-07-03T07:38:26.367105Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -95,10 +95,10 @@
"id": "cfa97168-63eb-4e8c-89c3-0a5d26f47740",
"metadata": {
"execution": {
"iopub.execute_input": "2024-06-28T11:12:11.660964Z",
"iopub.status.busy": "2024-06-28T11:12:11.660760Z",
"iopub.status.idle": "2024-06-28T11:12:11.663910Z",
"shell.execute_reply": "2024-06-28T11:12:11.663405Z"
"iopub.execute_input": "2024-07-03T07:38:26.370284Z",
"iopub.status.busy": "2024-07-03T07:38:26.370078Z",
"iopub.status.idle": "2024-07-03T07:38:26.373479Z",
"shell.execute_reply": "2024-07-03T07:38:26.372949Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -141,10 +141,10 @@
"id": "7a9c86c2-931d-4113-abbc-31b3f517b6c4",
"metadata": {
"execution": {
"iopub.execute_input": "2024-06-28T11:12:11.666485Z",
"iopub.status.busy": "2024-06-28T11:12:11.666104Z",
"iopub.status.idle": "2024-06-28T11:12:11.749421Z",
"shell.execute_reply": "2024-06-28T11:12:11.748726Z"
"iopub.execute_input": "2024-07-03T07:38:26.375838Z",
"iopub.status.busy": "2024-07-03T07:38:26.375648Z",
"iopub.status.idle": "2024-07-03T07:38:26.459032Z",
"shell.execute_reply": "2024-07-03T07:38:26.458318Z"
},
"tags": []
},
Expand Down Expand Up @@ -178,10 +178,10 @@
"id": "c50e96b2-4403-413c-a99a-9243be0c0a04",
"metadata": {
"execution": {
"iopub.execute_input": "2024-06-28T11:12:11.752273Z",
"iopub.status.busy": "2024-06-28T11:12:11.751873Z",
"iopub.status.idle": "2024-06-28T11:12:13.258961Z",
"shell.execute_reply": "2024-06-28T11:12:13.258283Z"
"iopub.execute_input": "2024-07-03T07:38:26.461674Z",
"iopub.status.busy": "2024-07-03T07:38:26.461467Z",
"iopub.status.idle": "2024-07-03T07:38:27.057603Z",
"shell.execute_reply": "2024-07-03T07:38:27.056942Z"
},
"tags": []
},
Expand Down Expand Up @@ -230,10 +230,10 @@
"id": "da661ba3-fd15-4abc-bd4f-d13ae77b82b0",
"metadata": {
"execution": {
"iopub.execute_input": "2024-06-28T11:12:13.262094Z",
"iopub.status.busy": "2024-06-28T11:12:13.261588Z",
"iopub.status.idle": "2024-06-28T11:12:16.321020Z",
"shell.execute_reply": "2024-06-28T11:12:16.320360Z"
"iopub.execute_input": "2024-07-03T07:38:27.060616Z",
"iopub.status.busy": "2024-07-03T07:38:27.060141Z",
"iopub.status.idle": "2024-07-03T07:38:27.699499Z",
"shell.execute_reply": "2024-07-03T07:38:27.698803Z"
},
"tags": []
},
Expand All @@ -260,10 +260,10 @@
"id": "f1482a8f-4ce5-4e04-93c8-ddd883375d67",
"metadata": {
"execution": {
"iopub.execute_input": "2024-06-28T11:12:16.323707Z",
"iopub.status.busy": "2024-06-28T11:12:16.323509Z",
"iopub.status.idle": "2024-06-28T11:12:16.432628Z",
"shell.execute_reply": "2024-06-28T11:12:16.432061Z"
"iopub.execute_input": "2024-07-03T07:38:27.701996Z",
"iopub.status.busy": "2024-07-03T07:38:27.701794Z",
"iopub.status.idle": "2024-07-03T07:38:27.812060Z",
"shell.execute_reply": "2024-07-03T07:38:27.811343Z"
},
"tags": []
},
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4458,6 +4458,8 @@ We are committed to sharing templates and giving shout outs to the contributors

## TikTok
* [Get trending songs by keyword](https://github.com/jupyter-naas/awesome-notebooks/blob/master/TikTok/TikTok_Get_keyword_trending_songs.ipynb)
* [Get liked videos by profile](https://github.com/jupyter-naas/awesome-notebooks/blob/master/TikTok/TikTok_Get_liked_videos.ipynb)
* [Get liked videos by profile](https://github.com/jupyter-naas/awesome-notebooks/blob/master/TikTok/TikTok_Get_liked_videos_transcripts.ipynb)
* [Get user stats](https://github.com/jupyter-naas/awesome-notebooks/blob/master/TikTok/TikTok_Get_user_stats.ipynb)
* [Get videos stats](https://github.com/jupyter-naas/awesome-notebooks/blob/master/TikTok/TikTok_Get_videos_stats.ipynb)

Expand Down
18 changes: 12 additions & 6 deletions TikTok/TikTok_Get_liked_videos.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"source": [
"# TikTok - Get liked videos by profile\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=TikTok+-+Get+videos+stats:+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=TikTok+-+Get+liked+videos+by+profile:+Error+short+description\">Bug report</a>"
]
},
{
Expand Down Expand Up @@ -233,7 +233,10 @@
{
"cell_type": "markdown",
"id": "43d26535",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Scraping"
]
Expand All @@ -242,7 +245,10 @@
"cell_type": "code",
"execution_count": null,
"id": "60ff8ee3",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
"source": [
"def find_video_elements(soup):\n",
Expand Down Expand Up @@ -392,8 +398,8 @@
"version": "3.11.5"
},
"naas": {
"notebook_id": "35f614b16e2f264d1d38670c7ca5c0fe010e4c1cd828f2812e8a58faaeaee557",
"notebook_path": "TikTok/TikTok_Get_videos_stats.ipynb"
"notebook_id": "c323c8613df0735bf7578b470ac3cc4c2cb4a8e40fba3760a3000c77c752b018",
"notebook_path": "TikTok/TikTok_Get_liked_videos.ipynb"
},
"papermill": {
"default_parameters": {},
Expand All @@ -404,4 +410,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
111 changes: 21 additions & 90 deletions TikTok/TikTok_Get_liked_videos_transcripts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"source": [
"# TikTok - Get liked videos by profile\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=TikTok+-+Get+videos+stats:+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=TikTok+-+Get+liked+videos+by+profile:+Error+short+description\">Bug report</a>"
]
},
{
Expand Down Expand Up @@ -248,7 +248,10 @@
{
"cell_type": "markdown",
"id": "43d26535",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Scraping"
]
Expand All @@ -257,7 +260,10 @@
"cell_type": "code",
"execution_count": 4,
"id": "60ff8ee3",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
"source": [
"def find_video_elements(soup):\n",
Expand Down Expand Up @@ -311,7 +317,10 @@
{
"cell_type": "markdown",
"id": "b43aad2e",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Transcription"
]
Expand All @@ -320,7 +329,10 @@
"cell_type": "code",
"execution_count": 5,
"id": "12b372c8",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
"source": [
"def transcribe_audio(file_path, client):\n",
Expand Down Expand Up @@ -445,88 +457,7 @@
"papermill": {},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Navigated to https://www.tiktok.com/@jeremyravenel\n",
"Failed to click on Liked tab: Message: element click intercepted: Element <p aria-selected=\"false\" role=\"tab\" data-e2e=\"liked-tab\" tabindex=\"0\" class=\"css-r7ao4-PLike e1jjp0pq4\">...</p> is not clickable at point (409, 330). Other element would receive the click: <div class=\"sc-fjdhpX klIBjd\">...</div>\n",
" (Session info: chrome=126.0.6478.127)\n",
"Stacktrace:\n",
"\tGetHandleVerifier [0x00007FF7116EEEA2+31554]\n",
"\t(No symbol) [0x00007FF711667ED9]\n",
"\t(No symbol) [0x00007FF71152872A]\n",
"\t(No symbol) [0x00007FF71158012E]\n",
"\t(No symbol) [0x00007FF71157DAF2]\n",
"\t(No symbol) [0x00007FF71157AF8B]\n",
"\t(No symbol) [0x00007FF71157A156]\n",
"\t(No symbol) [0x00007FF71156C151]\n",
"\t(No symbol) [0x00007FF71159D02A]\n",
"\t(No symbol) [0x00007FF71156BA76]\n",
"\t(No symbol) [0x00007FF71159D240]\n",
"\t(No symbol) [0x00007FF7115BC977]\n",
"\t(No symbol) [0x00007FF71159CDD3]\n",
"\t(No symbol) [0x00007FF71156A33B]\n",
"\t(No symbol) [0x00007FF71156AED1]\n",
"\tGetHandleVerifier [0x00007FF7119F8B1D+3217341]\n",
"\tGetHandleVerifier [0x00007FF711A45AE3+3532675]\n",
"\tGetHandleVerifier [0x00007FF711A3B0E0+3489152]\n",
"\tGetHandleVerifier [0x00007FF71179E776+750614]\n",
"\t(No symbol) [0x00007FF71167375F]\n",
"\t(No symbol) [0x00007FF71166EB14]\n",
"\t(No symbol) [0x00007FF71166ECA2]\n",
"\t(No symbol) [0x00007FF71165E16F]\n",
"\tBaseThreadInitThunk [0x00007FFB2C66257D+29]\n",
"\tRtlUserThreadStart [0x00007FFB2E62AF28+40]\n",
"\n",
"Found 4 videos\n",
"Error extracting video info: 'NoneType' object is not subscriptable\n",
"Error extracting video info: 'NoneType' object is not subscriptable\n",
"Error extracting video info: 'NoneType' object is not subscriptable\n",
"Error extracting video info: 'NoneType' object is not subscriptable\n",
"Data saved to jeremyravenel_liked_videos_transcripts.csv\n"
]
},
{
"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",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
"Empty DataFrame\n",
"Columns: []\n",
"Index: []"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"liked_videos_transcripts = asyncio.run(main(USERNAME, LIMIT))\n",
"liked_videos_transcripts"
Expand All @@ -552,8 +483,8 @@
"version": "3.11.5"
},
"naas": {
"notebook_id": "35f614b16e2f264d1d38670c7ca5c0fe010e4c1cd828f2812e8a58faaeaee557",
"notebook_path": "TikTok/TikTok_Get_videos_stats.ipynb"
"notebook_id": "f55101001cc0909f370c8a575e90d36520921f49d352e41305d48ba19078efae",
"notebook_path": "TikTok/TikTok_Get_liked_videos_transcripts.ipynb"
},
"papermill": {
"default_parameters": {},
Expand All @@ -564,4 +495,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Loading

0 comments on commit 1ed2b45

Please sign in to comment.