mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 21:27:39 +02:00
instagram: check if cookie exists before using it in second fallback
This commit is contained in:
@ -201,7 +201,7 @@ async function getPost(id) {
|
||||
const cookie = getCookie('instagram');
|
||||
|
||||
data = await requestHTML(id);
|
||||
if (!data) data = await requestHTML(id, cookie);
|
||||
if (!data && cookie) data = await requestHTML(id, cookie);
|
||||
|
||||
if (!data) {
|
||||
dataType = 'new';
|
||||
|
Reference in New Issue
Block a user