Closed HugoGit39 closed 4 months ago
Hi Hugo,
I'm not sure what you're trying to do running that particular piece of code...if you want the feed, it works normally with the following:
tidyRSS::tidyfeed("https://cointelegraph.com/rss")
GET request successful. Parsing...
# A tibble: 30 × 15
feed_title feed_link feed_description feed_language feed_pub_date feed_last_build_date feed_category
<chr> <chr> <chr> <chr> <dttm> <dttm> <chr>
1 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
2 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
3 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
4 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
5 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
6 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
7 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
8 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
9 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
10 Cointelegraph.com Ne… https://… Cointelegraph c… "\n … 2024-04-22 09:06:45 2024-04-22 09:23:20 Staking
# ℹ 20 more rows
# ℹ 8 more variables: feed_generator <chr>, item_title <chr>, item_link <chr>, item_description <chr>,
# item_pub_date <dttm>, item_guid <chr>, item_enclosure <list>, item_category <list>
# ℹ Use `print(n = ...)` to see more rows
Created on 2024-04-22 with reprex v2.0.2
Hi Robert
That piece of code of safe_get gets the error:
I run tidyRSS on a VM on Digital Ocean btw...it might get blocked somehow cause the rss feed is protected for anti-scraping? It is quite far fetched tbh.....other rss feeds do work on the VM.
Hi Hugo, I can only guess that it is a network issue on your side, from my local machine it's working fine. Have you tried running it elsewhere?
When run this code I get a 403 error...any idea how to solve this?