mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 11:52:12 +01:00
instagram: clean up
This commit is contained in:
parent
018557cbcd
commit
dd7c7dfa76
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ async function request(url, cookie, method = 'GET', requestData) {
|
||||||
return data.json();
|
return data.json();
|
||||||
}
|
}
|
||||||
|
|
||||||
async function requestHTML(id, cookie = {}) {
|
async function requestHTML(id, cookie) {
|
||||||
const data = await fetch(`https://www.instagram.com/p/${id}/embed/captioned/`, {
|
const data = await fetch(`https://www.instagram.com/p/${id}/embed/captioned/`, {
|
||||||
headers: {
|
headers: {
|
||||||
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
|
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
|
||||||
|
|
Loading…
Reference in a new issue