pythonofftopic | Unsorted

Telegram-канал pythonofftopic - Offtopic

12466

Offtopic group for casual talking about anything. @rules_for_python still apply (except for the ontopic rule)

Subscribe to a channel

Offtopic

Most sites use opengraph cause you don't want your site's embedding to load blank.

Читать полностью…

Offtopic

Your million concern makes less sense.

Читать полностью…

Offtopic

i though that but i will need to add about 5 lines of og title, descriotm, url and so on, so i found this is not any necessary to give in my application as this only overload the rendering meantime and for 1 million user it will be around 1 gb bandwidth, just for showing one image in the social media message how bad this meta>og things are so

Читать полностью…

Offtopic

whaat? it's only a few bytes

Читать полностью…

Offtopic

yaa this is not any important thigns i found rather storing this meta og tags in all the response is just a waste of bandwidth i found, so rahter not to use this i found this

Читать полностью…

Offtopic

Yeah, I myself go to bed after 1am most nights.

Читать полностью…

Offtopic

but it transpired to be a main.rs

Читать полностью…

Offtopic

first day learning Rust, am I making UB?

Читать полностью…

Offtopic

yaa i will try to found the docs of those surely 😅

Читать полностью…

Offtopic

Go to their API docs
READ

Читать полностью…

Offtopic

It could be considered as the same as breaking into some other people houses

Definetly illegal

Читать полностью…

Offtopic

In that case, unauthorized access falls into the gray area and mostly illegal.

Читать полностью…

Offtopic

yaa yaa i will not try to do these more i got punishment

Читать полностью…

Offtopic

yaa like this kaybe i listen using the api like i saw some new chatgpt Astra new update their the ai agent like doing runnig prompt move the cursor like this, so it means the website backend dont know if i manually clicked those or ai dool this right 😏

Читать полностью…

Offtopic

Let's take this to somewhere else.
Your queries are ruining the group's chill vibe.

Читать полностью…

Offtopic

Thanks BTW, i need to rethink and learn about using this thigns and then again need to think about using this later...

Читать полностью…

Offtopic

most HTML pages are auto generated. nobody handrolls those tags.

Читать полностью…

Offtopic

don't over engineer things

Читать полностью…

Offtopic

not more than CPP though

Читать полностью…

Offtopic

While exploring web development and building my own website, I came across these meta tags:

<meta property="og:title" content="Free API" />
<meta property="og:description"
content="Free information about the api" />
<meta property="og:url" content="https://example.com" />

When i was exploring web to make my own website, i found this upper also need to give, and then after i researched i foudn this is graph protocol.

After doing some research, I found out that these are Open Graph (OG) meta tags.
As I understand it, when I share my website URL on platforms like Telegram, WhatsApp, Facebook, etc., these tags are used to generate the link preview — such as the title, description, URL, and sometimes an image. Is that correct? 🤔
My main question is about local development. 🚀
Since I'm currently developing my website on localhost, social media platforms obviously can't access my localhost URL, so I can't see how the actual link preview will look.
👉 How do you guys test Open Graph link previews while developing locally?

Читать полностью…

Offtopic

😭😂 This is so kind of you

Читать полностью…

Offtopic

I saw "main.js" for a brief moment

Читать полностью…

Offtopic

mate, you should've learned English first before programming.

Читать полностью…

Offtopic

It the only way to know what you are allowed to do and what not

Читать полностью…

Offtopic

what it means, i see i found some converter like api that coming in js fetch if i get those link and did post req to the server from the python and the api give me response backe without any Authorization token, it means what they server data publically , is not the responsibility of the api developer of that website to keep banned sending request without any x-headers like authorised token?

Читать полностью…

Offtopic

His English is very difficult to understand as well.

Читать полностью…

Offtopic

No, he is trying to use API that he is not autorized to use

Читать полностью…

Offtopic

Well, web scraping is legal under US law.
Not sure if he's doing that.

Читать полностью…

Offtopic

Illegal is illegal
Does not matter what content it is

Читать полностью…

Offtopic

😅😅😅
its not something illegal videos or something just like some docs/pdf/img convert and so on which are in some website i jist tried their browser's network tab and see what that's are doing actually, and like try to do send those request to those server from my backend so that in frontend user will open my website, but my website backend's flask will do the request to the server and get data so that user will think my application is doing this things like this things i just checking, so that i found these are some production related applications which i can learn and host and check not anything bad i found to use their service 😅

Читать полностью…
Subscribe to a channel