This website requires JavaScript.
Explore
Help
Register
Sign In
Benjamin_Loison
/
YouTube_Audio_library_extractor
Watch
1
Star
0
Fork
0
Code
Issues
8
Pull Requests
Packages
Projects
Releases
Wiki
Activity
Move from
curl
to
requests
#8
New Issue
Open
opened
2024-01-03 14:49:54 +01:00
by
Benjamin_Loison
· 0 comments
Benjamin_Loison
commented
2024-01-03 14:49:54 +01:00
Owner
Copy Link
Copy Source
Notably
YouTube_Audio_library_extractor/metadata_extracter.py
Line 22 in
5a6382ea00
command
=
f
"
curl -s
'
https://studio.youtube.com/youtubei/v1/creator_music/list_tracks
'
-H
'
Content-Type: application/json
'
-H
'
Authorization: SAPISIDHASH
{
SAPISIDHASH
}
'
-H
'
X-Goog-AuthUser: 0
'
-H
'
Origin: https://studio.youtube.com
'
-H
'
Cookie: __Secure-3PSID=
{
SECURE_3PSID
}
; __Secure-3PAPISID=
{
SECURE_3PAPISID
}
'
"
+
'
--data-raw
\'
{
"
channelId
"
:
"
'
+
CHANNEL_ID
+
'
"
'
+
TAB_REQUEST
+
'
,
"
pageInfo
"
:
{
"
pageSize
"
:100
'
+
(
'
'
if
nextPageToken
==
'
'
else
f
'
,
"
pageToken
"
:
"
{
nextPageToken
}
"
'
)
+
'
},
"
context
"
:
{
"
client
"
:
{
"
clientName
"
:62,
"
clientVersion
"
:
"
1.20230201
"
},
"
user
"
:
{
"
onBehalfOfUser
"
:
"
'
+
ON_BEHALF_OF_USER
+
'
"
}}}
\'
'
.
Notably https://gitea.lemnoslife.com/Benjamin_Loison/YouTube_Audio_library_extractor/src/commit/5a6382ea00ea0ba659bf8e89f9b46f922a2299f6/metadata_extracter.py#L22.
Sign in
to join this conversation.
No Branch/Tag Specified
Branches
Tags
main
No results found.
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
Clear assignees
Benjamin_Loison
(Benjamin Loison)
No Assignees
1 Participants
Notifications
Subscribe
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Benjamin_Loison/YouTube_Audio_library_extractor#8
Write
Preview
Loading…
x
Add
Cancel
Save
Reference in New Issue
Repository
Benjamin_Loison/YouTube_Audio_library_extractor
Title
Body
Create Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues.
Learn more about blocking a user.
User to block:
Optional note:
The note is not visible to the blocked user.
Cancel
Block
Notably