Bug: "Post a link" und Reddit

Seite 1 von 1 - Forum: Community Hub auf overclockers.at

URL: https://www.overclockers.at/community-hub/bug-post-a-link-und-reddit_264747/page_1 - zur Vollversion wechseln!


Elbart schrieb am 10.03.2025 um 12:19

Will ich eine Reddit-URL per "Post a Link" einfügen, kommt diese Fehlermeldung:

Zitat
Error: Error while fetching URL (https://old.reddit.com/r/nvidia/com...rd_comparison/: The requested URL returned error: 403 Blocked, 0 redirects)
Passiert auch mit https://www.reddit.com

Ist das neu, oder normal so, seit dem API-Pricing o.ä.?


Longbow schrieb am 10.03.2025 um 15:25

Bestimmte pages gehen einfach nicht zB reddit - aber auch andere wie div. shops.


Daeda schrieb am 14.03.2025 um 08:57

@colo & co

grad bissl rumprobiert. falls ihrs mit curl machts, damit sollten zumindest mehr seiten gehn:

Code:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36');

- reddit: old und new geht damit (obs dann sinnvoll gescraped werden kann, kA)
- spotify (wurde gerade im "was hört ihr" thread gefragt): geht leider nicht wirklich. die seite wird mit einer buggy error message geladen.
- spotify alternative: tidal share link geht mit den settings https://tidal.com/browse/track/305372?u und dort kann man dann zum jeweiligen streaming anbieter wechseln. bzw würden die auch ein iframe embed erlauben, sieht dann so aus:

Code:
<iframe src="https://embed.tidal.com/tracks/305372" width="500" height="120" allow="encrypted-media" sandbox="allow-same-origin allow-scripts allow-forms allow-popups" title="TIDAL Embed Player" />

hth




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025