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

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 😅

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

Offtopic

you may stream your audio via encrypted pieces, and users may collect their own network activities and merge the audio

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

Offtopic

🚫 ‎𝐇𝐚𝐲 𝐝𝐣 [8903335026] is already banned.

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

Offtopic

are you fearing little, or in reality if in my server's headers i modefy what the wrong is this my fault and i will got arrested by which country police in baddest condition?

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

Offtopic

yaa first i rewrite my quesion and then i found there are some mistake so i ask this i explains this problems and grammers and then added some emojies, and now i found my question is properly readable, as what i think we should not to beleive on the code ai send or say, as i listen ai code are too bad and not expandable, they just complete the code rather than keep it mind to extends in future, so i am try to get thigns learn from real developers. however ai helps to improve my ai, mostly in TG now in time of send message 'Ai' tab i can easily restructer my sentence 😀

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

Offtopic

AI HERE AI THERE AI EVERYWHERE

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

Offtopic

yaa i modified tg has now its ai rewrite option before send message

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

Offtopic

👋 Hello web developers!
I was checking an external website that uses JavaScript fetch() to retrieve some data and then makes a POST request directly to an external API service.
While inspecting the request in the browser’s Network → Headers tab, I noticed that when the request originates from example.com, the headers contain something like:

Origin: https://example.com
Referer: https://example.com/...

The external API then accepts the request and returns a response successfully. ✅
However, when I copy the same API URL and try to send a POST request to it from my own Python script & with api_dog with different/same data, the request fails with:
{
"error": "Forbidden",
"message": "Origin is not allowed"
}

From what I understand, the external API server is checking the Origin (and possibly Referer) header and only allowing requests coming from example.com.

i found in the tab it was CORS problem when i do request externally?

Is there a legitimate way to make the same API request from a Python backend/script?
If the API requires requests to come from example.com, what exactly is the server validating — the Origin header, Referer, cookies, authentication, or something else?
What should I look for in the browser’s Network tab to understand why the browser request succeeds while my Python request is rejected?
I’m trying to understand how this works from a web-development perspective and what the correct approach would be. 🙏
Thanks!

Edited Below :-
will this doing changing the refere/origin is illegal in what way? police can caught or what

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

Offtopic

it's base64/streaming

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

Offtopic

Today when i was exploring WEB Technologies i found, suppose i am sending a audio file to the user's browser, rather than embadding the audio in a file, i will do somethign blob thigns and from then the frontend js part will make the song from the external audio binary files, so that the user cannot get to download the audio file but he can listen the audio file, though i am not fully what is this things about?
what i s this thigns what topics i need to learn to do this thigns?

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

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

And you may also verify browser fingerprints, ensure they have the latest Chrome build, and TCP fingerprint matching with their User Agent, have unique canvas & webaudio fingerprint, have timezone match with their IP geolocation

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

Offtopic

You should first figure out how browsers actually works

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

Offtopic

We are not discussing any bypasses.

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

Offtopic

Yes police can catch & detain you

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

Offtopic

though looks like it doesn't just fixes your grammer

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

Offtopic

Because my english grammer is too bad, i say to fix the grammer 😅

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

Offtopic

do you use Ai to write your texts?

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

Offtopic

so should you guy say i hsould not use the audio tag in html directly as user can directly download and use those so use some other way to use this right?

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

Offtopic

Why fight the inevitable? I see it as a degree of freedom to go for what I really enjoy doing

And since I'm a uni student I'm cooked either way so ehy not at least enjoy it?

The best and last job is AI research so thats a good start if you wanna have the most confidence in what you're doing

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

Offtopic

which is nice if you're not in SEA

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