Bridge request for https://store.epicgames.com/en-US/free-games
Bridge request
General information
-
https://store.epicgames.com/en-US/free-games
-
Which information would you like to see?
I know there's already epicgames bridge for news, but it would be really cool to have addition specifically for their free games feed in order not to miss interesting offers!
Meaning those ones:
-
Which of the following parameters do you expect?
- [X] Title
- [X] URI (link to the original article)
- [ ] Author
- [x] Timestamp
- [X] Content (the content of the article)
- [x] Enclosures (pictures, videos, etc...)
- [ ] Categories (categories, tags, etc...)
Options
- [ ] Limit number of returned items
- Default limit: 5
- [ ] Load full articles
- Cache articles (articles are stored in a local cache on first request): yes
- Cache timeout (max = 24 hours): 24 hours
- [X] Balance requests (RSS-Bridge uses cached versions to reduce bandwith usage)
- Timeout (default = 5 minutes, max = 24 hours): 5 minutes
has cloudflare protection unfortunately
class EpicGamesFreeGamesBridge extends BridgeAbstract
{
const NAME = 'EpicGamesFreeGames';
public function collectData()
{
$data = getContents('https://store.epicgames.com/en-US/free-games');
if (preg_match('#^window.__REACT_QUERY_INITIAL_QUERIES__ = (.*)$#', $data, $m)) {
$a=2;
}
}
}
Oh...Now that's a shame. I wonder, how's news bridge work then?
P.S. Or you mean it's not blocker but complication rather?
it's a diffferent domain
im getting 403 Forbidden:
https://store.epicgames.com/en-US/free-games resulted in 403 Forbidden <html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>@media screen and (max-width:374px){h1{font-size:18px}.cf_challenge_container{margin:25px;padding:25px}.cf_challenge_text{font-size:16px}}@media screen and (min-width:375px) and (max-width:1279px){h1{font-size:30px}.cf_challenge_container{margin:25px;padding:60px}.cf_challenge_text{font-size:16px}}@media screen and (min-width:1280px){h1{font-size:40px}.cf_challenge_container{margin:25px;padding:60px
Cloudflare protection is such a cancer :man_facepalming:
Hey @keybreak, I wanted to let you know that you can make use of this feed: https://steamcommunity.com/groups/freegamesfinders/rss/.
@tillcash That's very cool, thank you! :heart:
Shoutout for these feeds
https://github.com/eikowagenknecht/lootscraper
@keybreak I have a bridge that does this... I never made a pull request because it's kind of a hack. Instead of fetching from EGS directly it uses the subreddit FreeGameFindings. The feed returns an error every once in a while but apart from that it works.