Podcastindex-org / database

16 stars 6 forks source link

What is 666? #34

Open ryan-lp opened 6 months ago

ryan-lp commented 6 months ago
sqlite> select title, lastHttpStatus from podcasts where id = 228629;

First Baptist Church, Bradenton|666

Is it a legitimate server response or an internal code assigned by the Podcast Index? My own crawler has never encountered it.

daveajones commented 6 months ago

It’s an internal code. I have a few of those to denote certain conditions that are outside of the http response scope.

daveajones commented 6 months ago

They are documented here: https://github.com/Podcastindex-org/aggrivator/blob/071471ae5a3602ce8639475085a827f11c987056/src/main.rs#L24

ryan-lp commented 6 months ago

Aside from 666, 667 and 668, there are some other HTTP statuses outside of the standard range: 0, 630, 900, 901, 902, 903, 904, 905, 906, 908, 909, 986, 999. Would it be correct to say that 666, 667 and 668 were designated by you as internal codes while the rest of the non-standard codes in this list are legitimate server responses?