PhilipTheBucket

joined 2 months ago
[–] PhilipTheBucket@ponder.cat 27 points 1 day ago

I am fetching the RSS feeds for particular channels, for which I need the channel ID.

Google gives out not only the RSS feed, but also the channel ID, if you click the menu under “share”, as someone else pointed out to me a couple days ago. You are very confused about things. This thing about it being against the TOS is pure fantasy.

[–] PhilipTheBucket@ponder.cat 7 points 3 days ago (1 children)

*fifth, with SO's default sorting, after several screens full of wrong answers

It's a wonderful answer and I appreciate knowing about it now, because that process definitely wasn't the first idea that came to my mind. If only Google and SO had given that answer to me before I did the whole adventure I pasted into my post and comment.

[–] PhilipTheBucket@ponder.cat 6 points 3 days ago (2 children)

It's search. I'm copy-pasting the content going down from the top of the page, adding my own commentary.

[–] PhilipTheBucket@ponder.cat 17 points 3 days ago

The mystery is solved. People are trying to provide good answers to strangers for free because they are good and helpful. Google's senseless reorganization of things is causing them not to function anymore. And then, Stack Overflow's bad configuration is defeating those good people's efforts to provide them to me.

I think we've learned that SO has succumbed to the same organizational syphilis that Google contracted a few years earlier.

[–] PhilipTheBucket@ponder.cat 12 points 3 days ago* (last edited 3 days ago) (2 children)

I'll click on the link you sent me, and start reading carefully, trying to find the answer. Here's how it went. I am not faking or deliberately trying any wrong things here. I'm just grabbing the most central solution it's presenting me on any given page, and trying it.

Here's the progress:

or those who come across this after the latest Data API revision (31st January, 2024), they provided the forHandle query parameter to get data of a handle/username. You can refer to this answer for details here: stackoverflow.com/a/78074066/2665606 – Saqib Ahmed Commented Feb 29 at 10:01

Cool. I click on that question.

YouTube released a revision on 31st January 2024 to add a forHandle parameter in the channel list API that does exactly what OP asks.

You can call the channel list API with forHandle to get the channel ID and the upload playlist for that user/handle that you can subsequently use to fetch the videos.

GET https://www.googleapis.com/youtube/v3/channels

Query parameters:

forHandle=FolkartTr OR @FolkartTr OR %40FolkartTr (this allows the '@' sign as well as URL encoding of it) key= part=contentDetails

Cool.

$ wget -O - https://www.googleapis.com/youtube/v3/channels\?forHandle=Lindybeige
--2024-10-01 01:19:52--  https://www.googleapis.com/youtube/v3/channels?forHandle=Lindybeige
Resolving www.googleapis.com (www.googleapis.com)... 2a00:1450:4009:822::200a, 2a00:1450:4009:826::200a, 2a00:1450:4009:823::200a, ...
Connecting to www.googleapis.com (www.googleapis.com)|2a00:1450:4009:822::200a|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2024-10-01 01:19:52 ERROR 403: Forbidden.

Oh. I need an API key. Okay, that one's useless.

I read another answer.

If I understood correctly, your problem is that you can't do anything from such a c/ channel id with the Channels: list of the YouTube Data API v3. If you're just looking for the channel id linked to this id then because as YouTube Data API v3 doesn't work for this, I would recommend you to use my open-source YouTube operational API, indeed by requesting https://yt.lemnoslife.com/channels?cId=FolkartTr you'll receive a JSON with id equals to the channel id linked to the provided cId value.

That means nothing to me.

I hit back. We're back at the original page you linked me to:

To obtain the channel id you can view the source code of the channel page and find either data-channel-external-id="UCjXfkj5iapKHJrhYfAF9ZGg" or "externalId":"UCjXfkj5iapKHJrhYfAF9ZGg".

UCjXfkj5iapKHJrhYfAF9ZGg will be the channel ID you are looking for.

Already covered. It doesn't work.

An easy answer is, your YouTube Channel ID is UC + {YOUR_ACCOUNT_ID}. To be sure of your YouTube Channel ID or your YouTube account ID, access the advanced settings at your settings page

And if you want to know the YouTube Channel ID for any channel, you could use the solution @mjlescano gave.

https://www.googleapis.com/youtube/v3/channels?key={YOUR_API_KEY}&forUsername={USER_NAME}&part=id If this could be of any help, some user marked it was solved in another topic right here.

Are you getting sick of reading these? So am I! I want to remind that DDG gave me the answer at the top of the page, as a tool that would solve the problem for me.

At any channel page with "user" url for example http://www.youtube.com/user/klauskkpm, without API call, from YouTube UI, click a video of the channel (in its "VIDEOS" tab) and click the channel name on the video. Then you can get to the page with its "channel" url for example https://www.youtube.com/channel/UCfjTOrCPnAblTngWAzpnlMA.

Edit:

Above is not working any more. But we can open Developer Tools (cmd + option + I) and try to find the URL there. Search by channel_id for some channels, it will show you, but NOT for all the channels.

By the way, if this is your own channel -- you can go here https://developers.google.com/youtube/v3/docs/channels/list and make request with part snippet and mine true.

Oh, I found this answer. Thank you, just works!

Edit:

Just in case you need UC channel id of any channel by the "YouTube handle", you can also use 'API Explorer' on the right of this page https://developers.google.com/youtube/v3/docs/channels/list and enter forHandle with your 'API key' (let me share screenshots below)

Sure, let's try the Cmd+Option+I solution.

Hey! Look at that. www.youtube.com wants to use my microphone. I can:

  • Allow while visiting this site
  • Allow this time
  • Never allow

I think we're done here. For all I know I would have been able to find it in the network tab of developer tools while searching for the channel, but I think the point is made. I didn't say that the answer didn't exist anywhere on SO, I said that the things I was trying because either Google or SO were telling me they were the answer were not working.

Edit: I reread your comment and got confused. For me, the screenshot you're showing has 26 points, and shows up below all of the answers that I showed above, which have 259, 79, 32, and 30 points respectively. How many points does it have on your page, to show as the second highest answer? I didn't deliberately stop reading right before the answer. I absolutely made a sincere effort to find the answer on that page, documenting my progress as I went.

[–] PhilipTheBucket@ponder.cat 53 points 3 days ago (3 children)

Ed Zitron diagnosed the causes and timing of the rot:

https://www.wheresyoured.at/the-men-who-killed-google/

[–] PhilipTheBucket@ponder.cat 13 points 3 days ago (1 children)

When smartphones were new, I started dating a girl who would roll over in bed first thing in the morning, pick up her phone, and start scrolling. I thought it was incredibly weird. Why not life? Why computer? Now, I do the same thing, and it's normal. Or rather it was until a couple of weeks ago.

The scary thing is that I'll start to get antsy as the one-hour mark comes near. I'll keep checking the clock for when I can pick it up and get my stimulation. So far it is working most days, though, and it feels like it improves the rest of the day for me.

[–] PhilipTheBucket@ponder.cat 29 points 3 days ago (7 children)

No phone or screen usage for 1 hour after I wake up.

I haven't broken the addiction completely, but it's progress.

 

For some reason I was back in Chrome today, and I searched Google, without meaning to, for:

get channel id for a youtube channel

Here's what I got:


✨ AI Overview Learn more … To find a YouTube channel's ID, you can: Use the YouTube account settings Sign in to YouTube, select your profile picture, then Settings, and then Advanced settings. You must be signed in as the channel's primary owner to see this information.

That's great, but I am not the channel's primary owner, and surely the majority of the time the person seeking an answer to this question will not be, also.

Use the channel's URL Click on the channel's name under any of its videos, and then look at the URL of that page. The handle will appear at the end of the link, preceded by the @ sign.

?

That is not the channel ID.

Use the page source code View the page source code of any video from the channel, and look for the "channelid" keyword.

I felt a little stingy at this point, because this sounds like a real solution.

I opened the source for the channel page, and searched the source code for channelid, and found nothing.

Then, while typing this complaint, I noticed that I was supposed to do that from a random video's page, so I opened one of the videos, did that, and found nothing.

A YouTube channel can have multiple URLs that direct viewers to the channel homepage. These URLs can look different, but they all point to the same channel.

Irrelevant information. How do I find the channel ID?

Generative AI is experimental. 👍 👎

Thanks Google! I know.

Sign in to YouTube. Settings . From the left menu, select Advanced settings. You'll see your channel's user and channel IDs.

Find your YouTube user & channel IDs - Google Help

Yes! I know. However, this isn't my channel. I want to find someone else's channel's ID.

❓About featured snippets • 💬 Feedback

I have some doubts whether you would accept my feedback, if I decided to give it. Why is this here?

Learn what words mean as you search Select words to get definitions & translations without leaving the page (Got it)

Thanks! That's really useful to know. Do you know how I can get a channel ID though?

People also ask

  • How do I get a YouTube Content ID?
  • Does YouTube have the ID channel?
  • How do I get my YouTube channel name?
  • How to find YouTube channel gmail id?

Fascinating!

Stack Overflow https://stackoverflow.com › questions › how-can-i-get-a... An easy answer is, your YouTube Channel ID is UC + {YOUR_ACCOUNT_ID}. To be sure of your YouTube Channel ID or your YouTube account ID, access the advanced ... 23 answers Top answer: To obtain the channel id you can view the source code of the channel page and find ... How can I get YouTube channel ID using channel name URL? Feb 7, 2023 Is there any way to get youtube channel ID ... - Stack Overflow Sep 14, 2023 How to get a youtube channelid from the channels link ... Jan 11, 2023 I can't get channel id using YouTube Data API v3 Mar 25, 2023 More results from stackoverflow.com

I clicked on Stack Overflow, closed several popups. The top answer wasn't useful. I did find a couple of answers down:

"To obtain the channel id you can view the source code of the channel page and find either data-channel-external-id="UCjXfkj5iapKHJrhYfAF9ZGg" or "externalId":"UCjXfkj5iapKHJrhYfAF9ZGg".

UCjXfkj5iapKHJrhYfAF9ZGg will be the channel ID you are looking for.

I tried that, and it didn't work.

Back to Google:

Comment Picker https://commentpicker.com › Tools › YouTube YouTube Channel ID Finder is a free tool to help you find a YouTube channel ID, along with other related channel information and statistics.

And it worked! I get 2 free channel ID queries per day. Fortunately I only needed the one. But it worked! It only took several minutes of scrolling past multiple screens of things that didn't work.


Now let's compare that to DDG.

Videos for get channel id for a youtube channel 1:28 How to Find YouTube Channel ID - 2024 263K views YouTube1yr

I skipped this as I didn't want a video.

https://www.streamweasels.com › tools › youtube-channel-id-and-user-id-convertor YouTube Channel ID Finder - YouTube Username to ID Convertor Simply enter any YouTube username or handle below and click Convert Username to ID. This tools makes use of the YouTube API to make the conversion. You can check out our other API tools here. Select YouTube handle, username or legacy: YouTube handles are now considered the default for Y

And there we go! It works.


When did it get this bad?

[–] PhilipTheBucket@ponder.cat 8 points 3 days ago (2 children)

It won't be my fault.

Yes it will.

Come to !rcv@ponder.cat and make a better solution.

If you are waiting for either mainstream political party to suddenly become champions of the people on their own, and you're refusing to take certain actions even in the face of catastrophic threat until they do, then yes, it will be your fault if the catastrophe comes true.

That outcome may be fine for you, and you may feel virtuous about your participation in that outcome for your reasons. It's somewhat safe for you if you're wealthy and white and born in the US and not active in left-wing politics, and confident that that all of that will keep you safe from a second Trump presidency. Of course there's no way to be sure that it will. But regardless, a lot of people don't have that luxury.

[–] PhilipTheBucket@ponder.cat 12 points 3 days ago (4 children)

There is a very real possibility that a person will come to power in this election who will end elections in the United States, end the rule of law, end protest, end socialism, end third parties, end elections in the future, install his hand-picked generals into the military and then turn the inconceivable power of the United States military loose, not just on a handful of victims who have come into our crosshairs from time to time, but wholesale onto anyone and everyone anywhere in the world who it comes into his head to target.

Do you define sending weapons to Israel as "enthusiastically participate?" Wait until US troops are on the ground in Gaza and Lebanon. Wait until Putin gets a green light to invade anywhere in eastern Europe that strikes his fancy. Wait until the US military is directly attacking anyone inside the borders of the United States that dares oppose his rule, or the rule of the person who comes after him, in this or any future election.

Wait until millions of people of the wrong ethnicity inside the United States are dying in concentration camps. Wait until legal immigrants are being deported by federal troops.

Yes, the system in the United States is far from democracy. Making it ten times worse is not a good solution. Pursuing a solution is a good solution.

Like I say, I have no idea where this argument that it is okay if Trump wins the election came into the comments for this article, but it is wrong, wrong wrong. It is not okay if Trump wins this election. If you actually care about the values expressed in this article I posted, you hopefully can see that. Maybe not.

[–] PhilipTheBucket@ponder.cat 13 points 3 days ago (8 children)

There were no WMD's.

It's why we're helping Israel commit genocide.

It's why we're involved in Ukraine.

One of these sentences is not like the others.

If Harris wants my vote, tell me you're going to cut the military budget, not increase it.

Why is this tying back to refusing to vote for Harris? Am I crazy, or did that come completely out of nowhere at all?

If you care about genocide, destroying millions of lives, and making the rich richer, you should be phonebanking for Harris every day of the week. She may or may not be ideal but it hardly matters. Her opponent is 1,000% worse by any conceivable measurement.

And then, after the election is done: !rcv@ponder.cat to lay a foundation for better candidates beyond that in the future.

[–] PhilipTheBucket@ponder.cat 34 points 5 days ago (2 children)

I think that over the next few years Sam Altman is going to learn the same lessons that events have been trying to teach Elon Musk since circa 2021.

  1. You didn't build that. The people that work for you did.
  2. Being a big hero is contingent on you and your behavior, and can change.
  3. Those people who are giving you all this money aren't your comrades. When your usefulness is at its end, they won't give you a second thought.
22
submitted 1 month ago* (last edited 1 month ago) by PhilipTheBucket@ponder.cat to c/fediverse@lemmy.world
 

I've been seeing some complaints about paywalled content being posted in the rss.ponder.cat communities.

Here's my proposal:

  • Split the bot into two users: free@rss.ponder.cat and paywall@rss.ponder.cat.
  • Make a rule similar to some other communities, forbidding people from posting full text or links to archive.is on the paywalled communities.
  • If you like some of the paywalled content, subscribe to it. You can afford $5-10/month for one or two sources, and it'll help them a lot. Creating good content on the internet isn't free.
  • If you don't want the paywalled content, block the paywall bot and you won't have to see it in your feed.
  • If you don't want any of it, block both bots or the whole instance.

It's a real problem that Lemmy communities sometimes have paywalled content from 50 different sources, which makes it annoying to use and unreasonable to tell people to subscribe to content they want to read, because they would need 50 different subscriptions.

I think the RSS bot is a better solution than just ripping off content from all the high-quality online news sources and shrugging your shoulders if they go out of business and can't do it anymore a year from now. Everybody wins. High quality online news can still pay their bills, and you get a good way to stay up to date on it within Lemmy.

I'm posting this here instead of in the meta community because I have a feeling that most of the people who are saying they don't like the paywalled content are not subscribed, and I'd like to get feedback from the community as a whole.

What do people think?

Edit: I've implemented the proposal. There are now separate bots @free@rss.ponder.cat and @paywall@rss.ponder.cat.

 

Hackaday.com serves up Fresh Hacks Every Day from around the Internet. Their playful posts are the gold-standard in entertainment for engineers and engineering enthusiasts.

/c/hackaday@rss.ponder.cat hosts every post from Hackaday for your Lemmy reading pleasure.

!hackaday@rss.ponder.cat

 

I started up my own instance and now I have realized that there's no reason anyone would join mine instead of any other instance.

That's no good. What neat stuff would the Fediverse like to see in a Lemmy instance?

  • Follow RSS feeds in your Lemmy feed? I have that already, in a way, but it would be nice to be able to do it for any feed automatically without it being clunky.
  • Follow Mastodon users? Or tags?
  • Embedded video? That seems costly.
  • Hackability? The ability to run your own customized front end? Or good scripting features in the browser console?
  • A better looking UI? This one is functional but it's not pretty.
  • Better moderation? I have heard the Lemmy tools aren't that good.
  • Something else?
 

Yesterday I posted about rss.ponder.cat, with communities automatically fed from a selection of RSS feeds. Today I made !meta@rss.ponder.cat, with:

  • A sticky-post roadmap of the RSS feeds that are already available
  • A place for people to request communities to be added
  • A place for me to post announcements about new communities

I don't plan to spam !newcommunities@lemmy.world with every new RSS feed, but I figured I would let people know the location of the community that will get announcements about new RSS feed communities, in case they want to subscribe to it.

Cheers!

 

rss.ponder.cat is live! You can have Lemmy communities fed by RSS news feeds:

A lot of big sites offer feeds for different categories of article, but I'm not sure it is smart to mirror every single one into a Lemmy community. The ones above, for periodicals like the BBC, are only the front page stories, which seems necessary for it not to turn into spam.

The Ars mirror, on the other hand, I broke down by category, at least partly. You can get all the articles:

Or, you can subscribe to individual categories of articles:

I'll see how it goes. I don't want it to become a source of spam.

If you want to have an RSS feed as a community, ask. They're easy to add. Just say something and I'll set it up.

Happy RSSing!

view more: next ›