Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why Piped doesn't fetch feed correctly? #3761

Open
1 task done
FrozenVertx opened this issue Aug 24, 2024 · 16 comments
Open
1 task done

Why Piped doesn't fetch feed correctly? #3761

FrozenVertx opened this issue Aug 24, 2024 · 16 comments
Labels
bug Something isn't working

Comments

@FrozenVertx
Copy link

Official Instance

Describe the bug

It doesn't fetch feeds correctly specially latest ones, also some older feeds too. When I goto channels then it fetched correctly but not in feed page. For Example-
Test feed page -
feed
Channel page-
channel

I have almost 80 subscription on Newpipe and it give 16 + video for today feed whereas Piped gives 4 (it includes big channels like mkbhd) with same subscriptions. Problem happens with small channels.
I don't know how to fix it ?

To Reproduce

  1. Open Piped URL
  2. Goto channel (like John Hammond)
  3. Subscribe
  4. Go and refresh feed

Expected behavior

It should fetch every video like Newpipe

Logs/Errors

No response

Browser, and OS with Version.

Firefox 129.0.2
LibreTube

Additional context

I tried to change instances but problem still persist.
I used fresh piped page with default settings also not logged in for test example.

@FrozenVertx FrozenVertx added the bug Something isn't working label Aug 24, 2024
@elliotfontaine
Copy link

I have the same issue, using the LibreTube app.

@milenakos
Copy link

Can confirm on both external frontend (piped.video), instance frontend, and LibreTube app.

@Tamarindo94
Copy link

Same here

@PricacyPro0
Copy link

same, also on Libretube
on every instance

@ACR-Jeff
Copy link

ACR-Jeff commented Sep 8, 2024

I've noticed the same, It appears to be different for each instance, An Invidious instance issue? I've also noticed none of which show live streams anymore on my end.

@PricacyPro0
Copy link

Piped also doesn't show shorts anymore.

@PhilC813
Copy link

Same here. I'm using LibreTube with Kavin's official instances but I confirmed that it's the same on the instance website.

Piped also doesn't show shorts anymore.

It seems to be working only sometimes with Kavin's official instances.

@ACR-Jeff
Copy link

ACR-Jeff commented Sep 12, 2024

Related? iv-org/invidious#4906

@ACR-Jeff
Copy link

ACR-Jeff commented Sep 19, 2024

Invidious has had a pull request for some time now. I am not much of a coder otherwise I would be contributing. Maybe others are willing to help solve this issue. iv-org/invidious#4906 (comment)
iv-org/invidious#2469

@lividhen
Copy link

lividhen commented Oct 4, 2024

Just started having this issue

@jim3692
Copy link
Contributor

jim3692 commented Nov 12, 2024

I am facing the same issue on my instance, which is not throttled. It looks like that, for some channels, unsubscribing and subscribing again fixes the issue. Is there a way to trigger a re-fetch of all the subscribed channels?

@ryboto
Copy link

ryboto commented Nov 12, 2024

This happens to me on Libretube. I thought it was libretube for a long time but just thought to try piped on a PC browser and see the same. Some subscriptions load, but most don't.

@jim3692
Copy link
Contributor

jim3692 commented Nov 12, 2024

I am facing the same issue on my instance, which is not throttled. It looks like that, for some channels, unsubscribing and subscribing again fixes the issue. Is there a way to trigger a re-fetch of all the subscribed channels?

It fixed itself somehow

@blued-gear
Copy link

I wrote this script to refresh all subscription content. You can paste it in the Dev-Console to run it; just make sure to insert the right API-URL in line 10 (const apiUrl = ...).

await (async function() {
    function sleep(ms) {
        return new Promise((resolve) => {
            setTimeout(resolve, ms);
        });
    }
    
    const authTokenKey = Object.keys(localStorage).find(itm => itm.startsWith("authToken"));
    const authToken = localStorage.getItem(authTokenKey);
    const apiUrl = "URL";
    
    const subs = await (await fetch(`${apiUrl}/subscriptions`, {
        headers: {
            "Authorization": authToken
        }
    })).json();
    for(let sub of subs) {
        await sleep(200);
    
        const chan = await (await fetch(`${apiUrl}${sub.url}`)).json();
        console.log(chan.name);
        
        const shortsTab = chan.tabs.find(itm => itm.name == "shorts");
        if(shortsTab == null) continue;
        const shorts = await (await fetch(`${apiUrl}/channels/tabs?data=${encodeURIComponent(shortsTab.data)}`)).json();
    }
    
    console.log("done");
})();

@elle-Bee
Copy link

Having the same issue on libretube, but not on newpipe

@4sheper
Copy link

4sheper commented Dec 23, 2024

having the same issue.
when i check channel separately then return to feed it shows the new ones in feed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests