All old episodes are reporting 404 from the full feed. #129

Closed
opened 2023-06-19 16:17:18 +00:00 by ken_fallon · 1 comment
Collaborator

Error from mail "I'm getting 404 errors with the full archive for at least '08 & '09. I went and resubscribed from the website, figuring that the url scheme has changed in the years since I added the feed originally. I've tried the ogg, spx, and mp3 versions of the feed, and they all give a 404 error when trying to download the episodes. Newer episodes seem to work still."

[ken@kalani feed]$ wget http://hackerpublicradio.org/eps/hpr0001.ogg
--2023-06-19 18:15:33-- http://hackerpublicradio.org/eps/hpr0001.ogg
Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://hackerpublicradio.org/eps/hpr0001.ogg [following]
--2023-06-19 18:15:33-- https://hackerpublicradio.org/eps/hpr0001.ogg
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-06-19 18:15:34 ERROR 404: Not Found.

Error from mail "I'm getting 404 errors with the full archive for at least '08 & '09. I went and resubscribed from the website, figuring that the url scheme has changed in the years since I added the feed originally. I've tried the ogg, spx, and mp3 versions of the feed, and they all give a 404 error when trying to download the episodes. Newer episodes seem to work still." [ken@kalani feed]$ wget http://hackerpublicradio.org/eps/hpr0001.ogg --2023-06-19 18:15:33-- http://hackerpublicradio.org/eps/hpr0001.ogg Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124 Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://hackerpublicradio.org/eps/hpr0001.ogg [following] --2023-06-19 18:15:33-- https://hackerpublicradio.org/eps/hpr0001.ogg Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2023-06-19 18:15:34 ERROR 404: Not Found.
ken_fallon added the
Bug Found
label 2023-06-19 16:17:18 +00:00
ken_fallon self-assigned this 2023-06-19 16:17:18 +00:00
ken_fallon changed title from All old episofes are reporting 404 from the full feed. to All old epiosodes are reporting 404 from the full feed. 2023-06-19 16:17:40 +00:00
ken_fallon changed title from All old epiosodes are reporting 404 from the full feed. to All old episodes are reporting 404 from the full feed. 2023-06-19 16:17:48 +00:00
Author
Collaborator

Changed /home/hpr/public_html/.htaccess rule to

RewriteRule "eps/hpr([0-9]{4}).(ogg|mp3|spx|wav|flac|opus)" "https://archive.org/download/hpr$1/hpr$1.$2"

[user@pc feed]$ for i in 0001 0010 0100 1000;do wget http://hackerpublicradio.org/eps/hpr${i}.ogg -O ep.ogg;sleep 2;done
--2023-06-19 18:38:56-- http://hackerpublicradio.org/eps/hpr0001.ogg
Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://hackerpublicradio.org/eps/hpr0001.ogg [following]
--2023-06-19 18:38:56-- https://hackerpublicradio.org/eps/hpr0001.ogg
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://archive.org/download/hpr0001/hpr0001.ogg [following]
--2023-06-19 18:38:57-- https://archive.org/download/hpr0001/hpr0001.ogg
Resolving archive.org (archive.org)... 207.241.224.2
Connecting to archive.org (archive.org)|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://ia601509.us.archive.org/11/items/hpr0001/hpr0001.ogg [following]
--2023-06-19 18:38:58-- https://ia601509.us.archive.org/11/items/hpr0001/hpr0001.ogg
Resolving ia601509.us.archive.org (ia601509.us.archive.org)... 207.241.227.119
Connecting to ia601509.us.archive.org (ia601509.us.archive.org)|207.241.227.119|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6926386 (6.6M) [application/ogg]
Saving to: ‘ep.ogg’

ep.ogg 100%[=====================================================================================================================>] 6.61M 628KB/s in 8.4s

2023-06-19 18:39:07 (804 KB/s) - ‘ep.ogg’ saved [6926386/6926386]

--2023-06-19 18:39:09-- http://hackerpublicradio.org/eps/hpr0010.ogg
Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://hackerpublicradio.org/eps/hpr0010.ogg [following]
--2023-06-19 18:39:09-- https://hackerpublicradio.org/eps/hpr0010.ogg
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://archive.org/download/hpr0010/hpr0010.ogg [following]
--2023-06-19 18:39:10-- https://archive.org/download/hpr0010/hpr0010.ogg
Resolving archive.org (archive.org)... 207.241.224.2
Connecting to archive.org (archive.org)|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://ia902201.us.archive.org/24/items/hpr0010/hpr0010.ogg [following]
--2023-06-19 18:39:11-- https://ia902201.us.archive.org/24/items/hpr0010/hpr0010.ogg
Resolving ia902201.us.archive.org (ia902201.us.archive.org)... 207.241.228.61
Connecting to ia902201.us.archive.org (ia902201.us.archive.org)|207.241.228.61|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8413366 (8.0M) [application/ogg]
Saving to: ‘ep.ogg’

ep.ogg 100%[=====================================================================================================================>] 8.02M 580KB/s in 19s

2023-06-19 18:39:30 (433 KB/s) - ‘ep.ogg’ saved [8413366/8413366]

--2023-06-19 18:39:32-- http://hackerpublicradio.org/eps/hpr0100.ogg
Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://hackerpublicradio.org/eps/hpr0100.ogg [following]
--2023-06-19 18:39:33-- https://hackerpublicradio.org/eps/hpr0100.ogg
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://archive.org/download/hpr0100/hpr0100.ogg [following]
--2023-06-19 18:39:33-- https://archive.org/download/hpr0100/hpr0100.ogg
Resolving archive.org (archive.org)... 207.241.224.2
Connecting to archive.org (archive.org)|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://ia802209.us.archive.org/34/items/hpr0100/hpr0100.ogg [following]
--2023-06-19 18:39:34-- https://ia802209.us.archive.org/34/items/hpr0100/hpr0100.ogg
Resolving ia802209.us.archive.org (ia802209.us.archive.org)... 207.241.228.79
Connecting to ia802209.us.archive.org (ia802209.us.archive.org)|207.241.228.79|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10328527 (9.8M) [application/ogg]
Saving to: ‘ep.ogg’

ep.ogg 100%[=====================================================================================================================>] 9.85M 171KB/s in 29s

2023-06-19 18:40:04 (350 KB/s) - ‘ep.ogg’ saved [10328527/10328527]

--2023-06-19 18:40:06-- http://hackerpublicradio.org/eps/hpr1000.ogg
Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://hackerpublicradio.org/eps/hpr1000.ogg [following]
--2023-06-19 18:40:06-- https://hackerpublicradio.org/eps/hpr1000.ogg
Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://archive.org/download/hpr1000/hpr1000.ogg [following]
--2023-06-19 18:40:07-- https://archive.org/download/hpr1000/hpr1000.ogg
Resolving archive.org (archive.org)... 207.241.224.2
Connecting to archive.org (archive.org)|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://ia600401.us.archive.org/19/items/hpr1000/hpr1000.ogg [following]
--2023-06-19 18:40:08-- https://ia600401.us.archive.org/19/items/hpr1000/hpr1000.ogg
Resolving ia600401.us.archive.org (ia600401.us.archive.org)... 207.241.227.211
Connecting to ia600401.us.archive.org (ia600401.us.archive.org)|207.241.227.211|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9962188 (9.5M) [application/ogg]
Saving to: ‘ep.ogg’

ep.ogg 100%[=====================================================================================================================>] 9.50M 1.66MB/s in 6.1s

2023-06-19 18:40:15 (1.57 MB/s) - ‘ep.ogg’ saved [9962188/9962188]

[user@pc feed]$

Changed /home/hpr/public_html/.htaccess rule to RewriteRule "eps/hpr([0-9]{4})\.(ogg|mp3|spx|wav|flac|opus)" "https://archive.org/download/hpr$1/hpr$1.$2" [user@pc feed]$ for i in 0001 0010 0100 1000;do wget http://hackerpublicradio.org/eps/hpr${i}.ogg -O ep.ogg;sleep 2;done --2023-06-19 18:38:56-- http://hackerpublicradio.org/eps/hpr0001.ogg Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124 Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://hackerpublicradio.org/eps/hpr0001.ogg [following] --2023-06-19 18:38:56-- https://hackerpublicradio.org/eps/hpr0001.ogg Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://archive.org/download/hpr0001/hpr0001.ogg [following] --2023-06-19 18:38:57-- https://archive.org/download/hpr0001/hpr0001.ogg Resolving archive.org (archive.org)... 207.241.224.2 Connecting to archive.org (archive.org)|207.241.224.2|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://ia601509.us.archive.org/11/items/hpr0001/hpr0001.ogg [following] --2023-06-19 18:38:58-- https://ia601509.us.archive.org/11/items/hpr0001/hpr0001.ogg Resolving ia601509.us.archive.org (ia601509.us.archive.org)... 207.241.227.119 Connecting to ia601509.us.archive.org (ia601509.us.archive.org)|207.241.227.119|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 6926386 (6.6M) [application/ogg] Saving to: ‘ep.ogg’ ep.ogg 100%[=====================================================================================================================>] 6.61M 628KB/s in 8.4s 2023-06-19 18:39:07 (804 KB/s) - ‘ep.ogg’ saved [6926386/6926386] --2023-06-19 18:39:09-- http://hackerpublicradio.org/eps/hpr0010.ogg Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124 Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://hackerpublicradio.org/eps/hpr0010.ogg [following] --2023-06-19 18:39:09-- https://hackerpublicradio.org/eps/hpr0010.ogg Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://archive.org/download/hpr0010/hpr0010.ogg [following] --2023-06-19 18:39:10-- https://archive.org/download/hpr0010/hpr0010.ogg Resolving archive.org (archive.org)... 207.241.224.2 Connecting to archive.org (archive.org)|207.241.224.2|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://ia902201.us.archive.org/24/items/hpr0010/hpr0010.ogg [following] --2023-06-19 18:39:11-- https://ia902201.us.archive.org/24/items/hpr0010/hpr0010.ogg Resolving ia902201.us.archive.org (ia902201.us.archive.org)... 207.241.228.61 Connecting to ia902201.us.archive.org (ia902201.us.archive.org)|207.241.228.61|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 8413366 (8.0M) [application/ogg] Saving to: ‘ep.ogg’ ep.ogg 100%[=====================================================================================================================>] 8.02M 580KB/s in 19s 2023-06-19 18:39:30 (433 KB/s) - ‘ep.ogg’ saved [8413366/8413366] --2023-06-19 18:39:32-- http://hackerpublicradio.org/eps/hpr0100.ogg Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124 Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://hackerpublicradio.org/eps/hpr0100.ogg [following] --2023-06-19 18:39:33-- https://hackerpublicradio.org/eps/hpr0100.ogg Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://archive.org/download/hpr0100/hpr0100.ogg [following] --2023-06-19 18:39:33-- https://archive.org/download/hpr0100/hpr0100.ogg Resolving archive.org (archive.org)... 207.241.224.2 Connecting to archive.org (archive.org)|207.241.224.2|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://ia802209.us.archive.org/34/items/hpr0100/hpr0100.ogg [following] --2023-06-19 18:39:34-- https://ia802209.us.archive.org/34/items/hpr0100/hpr0100.ogg Resolving ia802209.us.archive.org (ia802209.us.archive.org)... 207.241.228.79 Connecting to ia802209.us.archive.org (ia802209.us.archive.org)|207.241.228.79|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 10328527 (9.8M) [application/ogg] Saving to: ‘ep.ogg’ ep.ogg 100%[=====================================================================================================================>] 9.85M 171KB/s in 29s 2023-06-19 18:40:04 (350 KB/s) - ‘ep.ogg’ saved [10328527/10328527] --2023-06-19 18:40:06-- http://hackerpublicradio.org/eps/hpr1000.ogg Resolving hackerpublicradio.org (hackerpublicradio.org)... 44.228.143.124 Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://hackerpublicradio.org/eps/hpr1000.ogg [following] --2023-06-19 18:40:06-- https://hackerpublicradio.org/eps/hpr1000.ogg Connecting to hackerpublicradio.org (hackerpublicradio.org)|44.228.143.124|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://archive.org/download/hpr1000/hpr1000.ogg [following] --2023-06-19 18:40:07-- https://archive.org/download/hpr1000/hpr1000.ogg Resolving archive.org (archive.org)... 207.241.224.2 Connecting to archive.org (archive.org)|207.241.224.2|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://ia600401.us.archive.org/19/items/hpr1000/hpr1000.ogg [following] --2023-06-19 18:40:08-- https://ia600401.us.archive.org/19/items/hpr1000/hpr1000.ogg Resolving ia600401.us.archive.org (ia600401.us.archive.org)... 207.241.227.211 Connecting to ia600401.us.archive.org (ia600401.us.archive.org)|207.241.227.211|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 9962188 (9.5M) [application/ogg] Saving to: ‘ep.ogg’ ep.ogg 100%[=====================================================================================================================>] 9.50M 1.66MB/s in 6.1s 2023-06-19 18:40:15 (1.57 MB/s) - ‘ep.ogg’ saved [9962188/9962188] [user@pc feed]$
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: rho_n/hpr_generator#129
No description provided.