replaced descriptions with url sources

This commit is contained in:
Rudis Muiznieks 2023-04-06 15:51:53 -05:00
parent 3fb65a1123
commit c10601cd01
Signed by: rudism
GPG key ID: CABF2F86EF7884F9
7 changed files with 737 additions and 1084 deletions

6
.gitignore vendored
View file

@ -1,6 +1,6 @@
# populated sqlite dbs
db/radiostasis.db
db/accounts.db
# project specific stuff
db/*.db
scripts/config.json
# env file
.env

View file

@ -1,2 +1,3 @@
update episodes set title='Money Money Money' where series_slug='lights-out' and episode_slug='1936-08-05';
update series set title='Jeff Regan, Investigator' where series_slug='jeff-regan-investigator';
update series set title='CBS Complete Broadcast Day (1944)' where series_slug='complete-broadcast-day-d-day';

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,5 @@
create table series_links (
series_slug text not null references series (series_slug),
link_url text not null,
primary key (series_slug, link_url)
);

597
db/migrations/006-links.sql Normal file
View file

@ -0,0 +1,597 @@
insert into series_links values ('2000-plus','https://archive.org/details/OTRR_Maintained_2000_Plus');
insert into series_links values ('2000-plus','https://en.wikipedia.org/wiki/2000_Plus');
insert into series_links values ('2000-plus','https://www.otrcat.com/p/two-thousand-plus-2000plus');
insert into series_links values ('21st-precinct','https://archive.org/details/OTRR_21st_Precinct_Singles');
insert into series_links values ('21st-precinct','https://en.wikipedia.org/wiki/21st_Precinct');
insert into series_links values ('21st-precinct','https://www.otrcat.com/p/twenty-first-21st-precinct');
insert into series_links values ('33-half-moon-street','https://www.otrcat.com/p/thirty-three-half-moon-33-half-moon');
insert into series_links values ('a-case-for-dr-morelle','https://archive.org/details/OTRR_Dr_Morelle_Singles');
insert into series_links values ('a-date-with-judy','https://en.wikipedia.org/wiki/A_Date_with_Judy');
insert into series_links values ('a-date-with-judy','https://www.otrcat.com/p/date-with-judy');
insert into series_links values ('abbott-and-costello','https://archive.org/details/OTRR_Abbott_Costello_Singles');
insert into series_links values ('abbott-and-costello','https://en.wikipedia.org/wiki/The_Abbott_and_Costello_Show_(radio_program)');
insert into series_links values ('academy-award-theater','https://archive.org/details/OTRR_Academy_Award_Theater_Singles');
insert into series_links values ('academy-award-theater','https://en.wikipedia.org/wiki/Academy_Award_(radio_series)');
insert into series_links values ('academy-award-theater','https://www.otrcat.com/p/academy-award-theater');
insert into series_links values ('adventure-ahead','https://archive.org/details/OTRR_Certified_Adventure_Ahead');
insert into series_links values ('adventure-ahead','https://www.otrcat.com/p/adventure-ahead');
insert into series_links values ('adventures-by-morse','https://archive.org/details/OTRR_Adventures_Morse_Singles');
insert into series_links values ('adventures-by-morse','https://en.wikipedia.org/wiki/Adventures_by_Morse');
insert into series_links values ('adventures-by-morse','https://www.otrcat.com/p/adventures-by-morse');
insert into series_links values ('adventures-of-champion','https://en.wikipedia.org/wiki/The_Adventures_of_Champion');
insert into series_links values ('adventures-of-champion','https://www.otrcat.com/p/adventures-of-champion');
insert into series_links values ('adventures-of-philip-marlowe','https://archive.org/details/OTRR_Philip_Marlowe_Singles');
insert into series_links values ('adventures-of-philip-marlowe','https://en.wikipedia.org/wiki/The_Adventures_of_Philip_Marlowe');
insert into series_links values ('adventures-of-philip-marlowe','https://www.otrcat.com/p/philip-marlowe');
insert into series_links values ('afloat-with-henry-morgan','https://archive.org/details/OTRR_Afloat_With_Henry_Morgan_Singles');
insert into series_links values ('air-mail-mystery','https://archive.org/details/OTRR_Air_Mail_Singles');
insert into series_links values ('air-mail-mystery','https://www.otrcat.com/p/airmail-mystery');
insert into series_links values ('aladdin-lamp','https://archive.org/details/OTRR_Aladdin_Lamp_Singles');
insert into series_links values ('aladdin-lamp','https://www.otrcat.com/p/aladdin-lamp');
insert into series_links values ('alien-worlds','https://en.wikipedia.org/wiki/Alien_Worlds_(radio_series)');
insert into series_links values ('alka-seltzer-time','https://archive.org/details/OTRR_Alka_Seltzer_Time_Singles');
insert into series_links values ('alka-seltzer-time','https://en.wikipedia.org/wiki/Alka-Seltzer_Time');
insert into series_links values ('alka-seltzer-time','https://www.otrcat.com/p/alka-seltzer-time');
insert into series_links values ('all-star-western-theatre','https://archive.org/details/OTRR_All_Star_Western_Theatre_Singles');
insert into series_links values ('all-star-western-theatre','https://www.otrcat.com/p/all-star-western-theater');
insert into series_links values ('amos-n-andy','https://en.wikipedia.org/wiki/Amos_%27n%27_Andy');
insert into series_links values ('amos-n-andy','https://www.otrcat.com/p/amos-and-andy');
insert into series_links values ('an-evening-with-groucho','https://archive.org/details/OTRR_An_Evening_With_Groucho_Singles');
insert into series_links values ('an-evening-with-groucho','https://en.wikipedia.org/wiki/Groucho_Marx');
insert into series_links values ('an-evening-with-groucho','https://www.otrcat.com/p/groucho-marx');
insert into series_links values ('arch-obolers-plays','https://en.wikipedia.org/wiki/Arch_Oboler%27s_Plays');
insert into series_links values ('arch-obolers-plays','https://www.otrcat.com/p/arch-oboler-plays');
insert into series_links values ('archie-andrews','https://www.otrcat.com/p/archie-andrews');
insert into series_links values ('barrie-craig-confidential-investigator','https://archive.org/details/OTRR_Barrie_Craig_Singles');
insert into series_links values ('barrie-craig-confidential-investigator','https://en.wikipedia.org/wiki/Barrie_Craig,_Confidential_Investigator');
insert into series_links values ('barrie-craig-confidential-investigator','https://www.otrcat.com/p/barrie-craig-barry-craig');
insert into series_links values ('behind-the-mike','https://archive.org/details/OTRR_Behind_The_Mike_Singles');
insert into series_links values ('behind-the-mike','https://en.wikipedia.org/wiki/Behind_the_Mike');
insert into series_links values ('behind-the-mike','https://www.otrcat.com/p/behind-the-mike');
insert into series_links values ('beulah','https://en.wikipedia.org/wiki/Beulah_(radio_and_TV_series)');
insert into series_links values ('beulah','https://www.otrcat.com/p/beulah');
insert into series_links values ('black-museum','https://archive.org/details/OTRR_Black_Museum_Singles');
insert into series_links values ('black-museum','https://en.wikipedia.org/wiki/The_Black_Museum');
insert into series_links values ('black-museum','https://www.otrcat.com/p/black-museum');
insert into series_links values ('blair-of-the-mounties','https://archive.org/details/OTRR_Blair_of_the_Mounties_Singles');
insert into series_links values ('blair-of-the-mounties','https://en.wikipedia.org/wiki/Blair_of_the_Mounties');
insert into series_links values ('blondie','https://en.wikipedia.org/wiki/Blondie_(radio_series)');
insert into series_links values ('blondie','https://www.otrcat.com/p/blondie');
insert into series_links values ('bob-and-ray','https://en.wikipedia.org/wiki/Bob_and_Ray');
insert into series_links values ('bob-and-ray','https://www.otrcat.com/p/bob-and-ray');
insert into series_links values ('bold-venture','https://archive.org/details/OTRR_Bold_Venture_Singles');
insert into series_links values ('bold-venture','https://en.wikipedia.org/wiki/Bold_Venture');
insert into series_links values ('bold-venture','https://www.otrcat.com/p/bold-venture');
insert into series_links values ('boston-blackie','https://archive.org/details/OTRR_Boston_Blackie_Singles');
insert into series_links values ('boston-blackie','https://en.wikipedia.org/wiki/Boston_Blackie');
insert into series_links values ('boston-blackie','https://www.otrcat.com/p/boston-blackie');
insert into series_links values ('box-13','https://archive.org/details/OTRR_Box_13_Singles');
insert into series_links values ('box-13','https://en.wikipedia.org/wiki/Box_13');
insert into series_links values ('box-13','https://www.otrcat.com/p/box-13');
insert into series_links values ('bright-star','https://archive.org/details/OTRR_Bright_Star_Singles');
insert into series_links values ('bright-star','https://en.wikipedia.org/wiki/Bright_Star_(radio)');
insert into series_links values ('bright-star','https://www.otrcat.com/p/bright-star');
insert into series_links values ('broadway-is-my-beat','https://archive.org/details/OTRR_Broadway_Is_My_Beat_Singles');
insert into series_links values ('broadway-is-my-beat','https://en.wikipedia.org/wiki/Broadway_Is_My_Beat');
insert into series_links values ('broadway-is-my-beat','https://www.otrcat.com/p/broadway-is-my-beat');
insert into series_links values ('buck-rogers','https://en.wikipedia.org/wiki/Buck_Rogers_in_the_25th_Century_(radio_series)');
insert into series_links values ('buck-rogers','https://www.otrcat.com/p/buck-rogers');
insert into series_links values ('bulldog-drummond','https://en.wikipedia.org/wiki/Bulldog_Drummond_(radio_program)');
insert into series_links values ('bulldog-drummond','https://www.otrcat.com/p/bulldog-drummond');
insert into series_links values ('calling-all-cars','https://archive.org/details/OTRR_Calling_All_Cars_Singles');
insert into series_links values ('calling-all-cars','https://en.wikipedia.org/wiki/Calling_All_Cars_(radio_program)');
insert into series_links values ('calling-all-cars','https://www.otrcat.com/p/calling-all-cars');
insert into series_links values ('can-you-imagine-that','https://archive.org/details/OTRR_Can_You_Imagine_That_Singles');
insert into series_links values ('can-you-imagine-that','https://www.otrcat.com/p/can-you-imagine-that');
insert into series_links values ('candy-matson-yukon-2-8209','https://archive.org/details/OTRR_Candy_Matson_Singles');
insert into series_links values ('candy-matson-yukon-2-8209','https://en.wikipedia.org/wiki/Candy_Matson');
insert into series_links values ('case-dismissed','https://archive.org/details/OTRR_Case_Dismissed_Singles');
insert into series_links values ('case-dismissed','https://www.otrcat.com/p/case-dismissed');
insert into series_links values ('casey-crime-photographer','https://archive.org/details/OTRR_Casey_Crime_Photographer_Singles');
insert into series_links values ('casey-crime-photographer','https://en.wikipedia.org/wiki/Casey,_Crime_Photographer_(radio_series)');
insert into series_links values ('casey-crime-photographer','https://www.otrcat.com/p/casey-crime-photographer');
insert into series_links values ('cbs-radio-mystery-theater','https://en.wikipedia.org/wiki/CBS_Radio_Mystery_Theater');
insert into series_links values ('cbs-radio-mystery-theater','https://www.otrcat.com/p/cbs-radio-mystery-theater');
insert into series_links values ('cbs-radio-workshop','https://archive.org/details/OTRR_CBS_Radio_Workshop_Singles');
insert into series_links values ('cbs-radio-workshop','https://en.wikipedia.org/wiki/CBS_Radio_Workshop');
insert into series_links values ('cbs-radio-workshop','https://www.otrcat.com/p/cbs-radio-workshop');
insert into series_links values ('challenge-of-the-yukon','https://archive.org/details/OTRR_Challenge_of_the_Yukon_Singles');
insert into series_links values ('challenge-of-the-yukon','https://en.wikipedia.org/wiki/Challenge_of_the_Yukon');
insert into series_links values ('challenge-of-the-yukon','https://www.otrcat.com/p/challenge-of-the-yukon-sgt-preston');
insert into series_links values ('charlie-chan','https://en.wikipedia.org/wiki/Charlie_Chan');
insert into series_links values ('charlie-chan','https://www.otrcat.com/p/charlie-chan');
insert into series_links values ('chick-carter-boy-detective','https://en.wikipedia.org/wiki/Chick_Carter,_Boy_Detective');
insert into series_links values ('claudia','https://archive.org/details/OTRR_Claudia_Singles');
insert into series_links values ('claudia','https://en.wikipedia.org/wiki/Claudia_and_David_(radio_program)');
insert into series_links values ('claudia','https://www.otrcat.com/p/claudia');
insert into series_links values ('cloak-and-dagger','https://archive.org/details/OTRR_Cloak_and_Dagger_Singles');
insert into series_links values ('cloak-and-dagger','https://en.wikipedia.org/wiki/Cloak_and_Dagger_(radio_series)');
insert into series_links values ('cloak-and-dagger','https://www.otrcat.com/p/cloak-and-dagger');
insert into series_links values ('club-car-special','https://archive.org/details/OTRR_Club_Car_Special_Singles');
insert into series_links values ('club-car-special','https://www.otrcat.com/p/club-car-special');
insert into series_links values ('comic-weekly-man','https://archive.org/details/OTRR_Comic_Weekly_Man_Singles');
insert into series_links values ('comic-weekly-man','https://www.otrcat.com/p/comic-weekly-man');
insert into series_links values ('command-performance','https://en.wikipedia.org/wiki/Command_Performance_(radio_series)');
insert into series_links values ('command-performance','https://www.otrcat.com/p/command-performance');
insert into series_links values ('crazy-hillbillies','https://www.otrcat.com/p/crazy-hillbilly-show');
insert into series_links values ('crazy-water-crystal-program','https://www.otrcat.com/p/crazy-water-crystal-program');
insert into series_links values ('crime-and-peter-chambers','https://archive.org/details/OTRR_Crime_and_Peter_Chambers_Singles');
insert into series_links values ('crime-and-peter-chambers','https://en.wikipedia.org/wiki/Crime_and_Peter_Chambers');
insert into series_links values ('crime-and-peter-chambers','https://www.otrcat.com/p/crime-and-peter-chambers');
insert into series_links values ('crime-classics','https://archive.org/details/OTRR_Crime_Classics_Singles');
insert into series_links values ('crime-classics','https://en.wikipedia.org/wiki/Crime_Classics');
insert into series_links values ('crime-classics','https://www.otrcat.com/p/crime-classics');
insert into series_links values ('cruise-of-the-poll-parrot','https://archive.org/details/OTRR_Cruise_Of_The_Poll_Parrot_Singles');
insert into series_links values ('cruise-of-the-poll-parrot','https://www.otrcat.com/p/cruise-poll-parrot');
insert into series_links values ('danger-dr-danfield','https://archive.org/details/OTRR_Danger_Dr_Danfield_Singles');
insert into series_links values ('danger-dr-danfield','https://en.wikipedia.org/wiki/Danger,_Dr._Danfield');
insert into series_links values ('danger-dr-danfield','https://www.otrcat.com/p/danger-doctor-danfield');
insert into series_links values ('dangerous-assignment','https://archive.org/details/Otrr_Dangerous_Assignment_Singles');
insert into series_links values ('dangerous-assignment','https://en.wikipedia.org/wiki/Dangerous_Assignment');
insert into series_links values ('dangerous-assignment','https://www.otrcat.com/p/dangerous-assignment');
insert into series_links values ('dangerously-yours','https://archive.org/details/OTRR_Dangerously_Yours_Singles');
insert into series_links values ('dangerously-yours','https://www.otrcat.com/p/dangerously-yours');
insert into series_links values ('dark-fantasy','https://archive.org/details/OTRR_Dark_Fantasy_Singles');
insert into series_links values ('dark-fantasy','https://en.wikipedia.org/wiki/Dark_Fantasy_(series)');
insert into series_links values ('dark-fantasy','https://www.otrcat.com/p/dark-fantasy');
insert into series_links values ('dear-adolf','https://www.otrcat.com/p/dear-adolf');
insert into series_links values ('delmore-brothers','https://archive.org/details/OTRR_Delmore_Brothers_Singles');
insert into series_links values ('delmore-brothers','https://en.wikipedia.org/wiki/The_Delmore_Brothers');
insert into series_links values ('delmore-brothers','https://www.otrcat.com/p/delmore-brothers');
insert into series_links values ('democracy-in-america','https://archive.org/details/OTRR_Democracy_In_America_Singles');
insert into series_links values ('democracy-in-america','https://www.otrcat.com/p/democracy-in-america');
insert into series_links values ('dimension-x','https://archive.org/details/OTRR_Dimension_X_Singles');
insert into series_links values ('dimension-x','https://en.wikipedia.org/wiki/Dimension_X_(radio_program)');
insert into series_links values ('dimension-x','https://www.otrcat.com/p/dimension-x');
insert into series_links values ('down-our-way','https://archive.org/details/OTRR_Down_Our_Way_Singles');
insert into series_links values ('down-our-way','https://www.otrcat.com/p/down-our-way');
insert into series_links values ('dr-iq','https://en.wikipedia.org/wiki/Dr._I.Q.');
insert into series_links values ('dr-iq','https://www.otrcat.com/p/dr-iq');
insert into series_links values ('dr-kildare','https://archive.org/details/OTRR_Dr_Kildare_Singles');
insert into series_links values ('dr-kildare','https://en.wikipedia.org/wiki/Dr._Kildare');
insert into series_links values ('dr-kildare','https://www.otrcat.com/p/doctor-kildare');
insert into series_links values ('dragnet','https://archive.org/details/OTRR_Dragnet_Singles');
insert into series_links values ('dragnet','https://en.wikipedia.org/wiki/Dragnet_(radio_series)');
insert into series_links values ('dragnet','https://www.otrcat.com/p/dragnet');
insert into series_links values ('duffys-tavern','https://en.wikipedia.org/wiki/Duffy%27s_Tavern');
insert into series_links values ('duffys-tavern','https://www.otrcat.com/p/duffys-tavern');
insert into series_links values ('edgar-bergen--charlie-mccarthy','https://www.otrcat.com/p/bergen-and-mccarthy-edgar-bergen-and-charlie-mccarthy');
insert into series_links values ('ellery-queens-minute-mysteries','https://www.otrcat.com/p/ellery-queen-minute-mysteries');
insert into series_links values ('encore-theater','https://archive.org/details/OTRR_Encore_Theater_Singles');
insert into series_links values ('encore-theater','https://www.otrcat.com/p/encore-theater');
insert into series_links values ('escape','https://archive.org/details/OTRR_Escape_Singles');
insert into series_links values ('escape','https://en.wikipedia.org/wiki/Escape_(radio_program)');
insert into series_links values ('escape','https://www.otrcat.com/p/escape');
insert into series_links values ('exploring-tomorrow','https://en.wikipedia.org/wiki/Exploring_Tomorrow');
insert into series_links values ('exploring-tomorrow','https://www.otrcat.com/p/exploring-tomorrow');
insert into series_links values ('family-doctor','https://archive.org/details/OTRR_Family_Doctor_Singles');
insert into series_links values ('family-doctor','https://www.otrcat.com/p/family-doctor');
insert into series_links values ('father-knows-best','https://archive.org/details/OTRR_Father_Knows_Best_Singles');
insert into series_links values ('father-knows-best','https://www.otrcat.com/p/father-knows-best');
insert into series_links values ('fibber-mcgee-and-molly','https://en.wikipedia.org/wiki/Fibber_McGee_and_Molly');
insert into series_links values ('fibber-mcgee-and-molly','https://www.otrcat.com/p/fibber-mcgee-molly');
insert into series_links values ('fire-fighters','https://archive.org/details/OTRR_Firefighters_Singles');
insert into series_links values ('fire-fighters','https://www.otrcat.com/p/fire-fighters');
insert into series_links values ('first-nighter','https://en.wikipedia.org/wiki/The_First_Nighter_Program');
insert into series_links values ('first-nighter','https://www.otrcat.com/p/first-nighter');
insert into series_links values ('five-minute-mysteries','https://www.otrcat.com/p/five-minute-mysteries');
insert into series_links values ('flash-gordon','https://en.wikipedia.org/wiki/Flash_Gordon');
insert into series_links values ('flash-gordon','https://www.otrcat.com/p/flash-gordon');
insert into series_links values ('fort-laramie','https://archive.org/details/OTRR_Fort_Laramie_Singles');
insert into series_links values ('fort-laramie','https://en.wikipedia.org/wiki/Fort_Laramie_(radio)');
insert into series_links values ('fort-laramie','https://www.otrcat.com/p/fort-laramie');
insert into series_links values ('frankenstein','https://www.otrcat.com/p/frankenstein');
insert into series_links values ('frontier-fighters','https://archive.org/details/OTRR_Frontier_Fighters_Singles');
insert into series_links values ('frontier-fighters','https://www.otrcat.com/p/frontier-fighters');
insert into series_links values ('frontier-town','https://archive.org/details/OTRR_Frontier_Town_Singles');
insert into series_links values ('frontier-town','https://en.wikipedia.org/wiki/Frontier_Town_(radio_show)');
insert into series_links values ('frontier-town','https://www.otrcat.com/p/frontier-town');
insert into series_links values ('gangbusters','https://en.wikipedia.org/wiki/Gang_Busters');
insert into series_links values ('gangbusters','https://www.otrcat.com/p/gangbusters');
insert into series_links values ('grand-ole-opry','https://en.wikipedia.org/wiki/Grand_Ole_Opry');
insert into series_links values ('great-scenes-from-great-plays','https://archive.org/details/OTRR_Great_Scenes_Singles');
insert into series_links values ('great-scenes-from-great-plays','https://www.otrcat.com/p/great-scenes-from-great-plays');
insert into series_links values ('gunsmoke','https://archive.org/details/OTRR_Gunsmoke_Singles');
insert into series_links values ('gunsmoke','https://en.wikipedia.org/wiki/Gunsmoke');
insert into series_links values ('halls-of-ivy','https://archive.org/details/OTRR_Halls_Of_Ivy_Singles');
insert into series_links values ('halls-of-ivy','https://en.wikipedia.org/wiki/The_Halls_of_Ivy');
insert into series_links values ('halls-of-ivy','https://www.otrcat.com/p/halls-of-ivy');
insert into series_links values ('have-gun-will-travel','https://en.wikipedia.org/wiki/Have_Gun_%E2%80%93_Will_Travel');
insert into series_links values ('have-gun-will-travel','https://www.otrcat.com/p/have-gun-will-travel');
insert into series_links values ('hello-americans','https://archive.org/details/OTRR_Hello_Americans_Singles');
insert into series_links values ('hello-americans','https://www.otrcat.com/p/hello-americans-orson-welles');
insert into series_links values ('heritage-over-the-land','https://archive.org/details/OTRR_Heritage_Over_The_Land_Singles');
insert into series_links values ('high-adventure','https://archive.org/details/OTRR_High_Adventure_Singles');
insert into series_links values ('high-adventure','https://www.otrcat.com/p/high-adventure');
insert into series_links values ('hopalong-cassidy','https://archive.org/details/OTRR_Hopalong_Singles');
insert into series_links values ('hopalong-cassidy','https://en.wikipedia.org/wiki/Hopalong_Cassidy_(radio_program)');
insert into series_links values ('horatio-hornblower','https://archive.org/details/OTRR_Horatio_Hornblower_Singles');
insert into series_links values ('horatio-hornblower','https://en.wikipedia.org/wiki/Horatio_Hornblower');
insert into series_links values ('horatio-hornblower','https://www.otrcat.com/p/horatio-hornblower');
insert into series_links values ('i-love-a-mystery','https://en.wikipedia.org/wiki/I_Love_a_Mystery');
insert into series_links values ('i-love-a-mystery','https://www.otrcat.com/p/i-love-a-mystery');
insert into series_links values ('in-the-name-of-the-law','https://archive.org/details/OTRR_In_The_Name_Of_The_Law_Singles');
insert into series_links values ('in-the-name-of-the-law','https://www.otrcat.com/p/in-the-name-of-the-law');
insert into series_links values ('incredible-but-true','https://archive.org/details/OTRR_Incredible_But_True_Singles');
insert into series_links values ('incredible-but-true','https://www.otrcat.com/p/incredible-but-true');
insert into series_links values ('inner-sanctum-mysteries','https://archive.org/details/OTRR_Inner_Sanctum_Mysteries_Singles');
insert into series_links values ('inner-sanctum-mysteries','https://en.wikipedia.org/wiki/Inner_Sanctum_Mystery');
insert into series_links values ('inner-sanctum-mysteries','https://www.otrcat.com/p/inner-sanctum-mysteries');
insert into series_links values ('jeff-regan-investigator','https://archive.org/details/OTRR_Jeff_Regan_Singles');
insert into series_links values ('jeff-regan-investigator','https://en.wikipedia.org/wiki/Jeff_Regan,_Investigator');
insert into series_links values ('jeff-regan-investigator','https://www.otrcat.com/p/jeff-regan-investigator');
insert into series_links values ('jerry-at-fair-oaks','https://archive.org/details/OTRR_Jerry_at_Fair_Oaks_Singles');
insert into series_links values ('jerry-at-fair-oaks','https://www.otrcat.com/p/jerry-at-fair-oaks');
insert into series_links values ('jerry-of-the-circus','https://archive.org/details/OTRR_Jerry_of_the_Circus_Singles');
insert into series_links values ('jerry-of-the-circus','https://en.wikipedia.org/wiki/Jerry_of_the_Circus');
insert into series_links values ('jerry-of-the-circus','https://www.otrcat.com/p/jerry-of-the-circus');
insert into series_links values ('john-steele-adventurer','https://archive.org/details/OTRR_John_Steele_Adventurer_Singles');
insert into series_links values ('john-steele-adventurer','https://en.wikipedia.org/wiki/John_Steele,_Adventurer');
insert into series_links values ('john-steele-adventurer','https://www.otrcat.com/p/john-steele');
insert into series_links values ('jonathan-thomas-and-his-christmas-on-the-moon','https://archive.org/details/OTRR_Jonathan_Thomas_And_His_Christmas_On_The_Moon_Singles');
insert into series_links values ('jonathan-thomas-and-his-christmas-on-the-moon','https://www.otrcat.com/p/christmas-on-the-moon');
insert into series_links values ('journey-into-space','https://en.wikipedia.org/wiki/Journey_into_Space');
insert into series_links values ('jump-jump-and-the-ice-queen','https://archive.org/details/OTRR_Jump_Jump_Ice_Queen_Singles');
insert into series_links values ('jump-jump-and-the-ice-queen','https://www.otrcat.com/p/jump-jump-and-the-ice-queen');
insert into series_links values ('let-george-do-it','https://archive.org/details/OTRR_Let_George_Do_It_Singles');
insert into series_links values ('let-george-do-it','https://en.wikipedia.org/wiki/Let_George_Do_It_(radio)');
insert into series_links values ('let-george-do-it','https://www.otrcat.com/p/let-george-do-it');
insert into series_links values ('life-with-luigi','https://archive.org/details/OTRR_Life_with_Luigi_Singles');
insert into series_links values ('life-with-luigi','https://en.wikipedia.org/wiki/Life_with_Luigi');
insert into series_links values ('life-with-luigi','https://www.otrcat.com/p/life-with-luigi');
insert into series_links values ('light-crust-doughboys','https://en.wikipedia.org/wiki/Light_Crust_Doughboys');
insert into series_links values ('light-crust-doughboys','https://www.otrcat.com/p/lightcrust-doughboys');
insert into series_links values ('lightning-jim','https://archive.org/details/OTRR_Lightning_Jim_Singles');
insert into series_links values ('lightning-jim','https://www.otrcat.com/p/lightning-jim');
insert into series_links values ('lights-out','https://en.wikipedia.org/wiki/Lights_Out_(radio_show)');
insert into series_links values ('lights-out','https://www.otrcat.com/p/lights-out');
insert into series_links values ('love-story-magazine','https://archive.org/details/OTRR_Love_Story_Magazine_Singles');
insert into series_links values ('love-story-magazine','https://www.otrcat.com/p/love-story');
insert into series_links values ('luke-slaughter-of-tombstone','https://archive.org/details/OTRR_Luke_Slaughter_Of_Tombstone_Singles');
insert into series_links values ('luke-slaughter-of-tombstone','https://www.otrcat.com/p/luke-slaughter');
insert into series_links values ('lum-and-abner','https://en.wikipedia.org/wiki/Lum_and_Abner');
insert into series_links values ('lux-radio-theatre','https://archive.org/details/OTRR_Lux_Radio_Theater_Singles');
insert into series_links values ('lux-radio-theatre','https://en.wikipedia.org/wiki/Lux_Radio_Theatre');
insert into series_links values ('lux-radio-theatre','https://www.otrcat.com/p/lux-radio');
insert into series_links values ('magic-island','https://archive.org/details/OTRR_Magic_Island_Singles');
insert into series_links values ('magic-island','https://en.wikipedia.org/wiki/Magic_Island_(radio_series)');
insert into series_links values ('magic-island','https://www.otrcat.com/p/magic-island');
insert into series_links values ('mama-blooms-brood','https://archive.org/details/OTRR_Mama_Blooms_Brood_Singles');
insert into series_links values ('mama-blooms-brood','https://www.otrcat.com/p/mama-blooms-brood');
insert into series_links values ('mark-trail','https://en.wikipedia.org/wiki/Mark_Trail_(radio_series)');
insert into series_links values ('mark-trail','https://www.otrcat.com/p/mark-trail');
insert into series_links values ('matinee-theater','https://archive.org/details/OTRR_Matinee_Theater_Singles');
insert into series_links values ('matinee-theater','https://www.otrcat.com/p/matinee-theater');
insert into series_links values ('matinee-theater','https://en.wikipedia.org/wiki/NBC_Matinee_Theater');
insert into series_links values ('gunsmoke','https://www.otrcat.com/p/gunsmoke');
insert into series_links values ('meet-corliss-archer','https://en.wikipedia.org/wiki/Meet_Corliss_Archer');
insert into series_links values ('meet-corliss-archer','https://www.otrcat.com/p/meet-corliss-archer');
insert into series_links values ('melody-ranch','https://archive.org/details/OTRR_Melody_Ranch_Singles');
insert into series_links values ('melody-ranch','https://en.wikipedia.org/wiki/Gene_Autry%27s_Melody_Ranch');
insert into series_links values ('mercury-theatre','https://en.wikipedia.org/wiki/The_Mercury_Theatre_on_the_Air');
insert into series_links values ('mercury-theatre','https://www.otrcat.com/p/mercury-theater');
insert into series_links values ('michael-shayne','https://en.wikipedia.org/wiki/Michael_Shayne_(radio_program)');
insert into series_links values ('michael-shayne','https://www.otrcat.com/p/michael-shayne');
insert into series_links values ('mind-your-manners','https://www.otrcat.com/p/mind-your-manners');
insert into series_links values ('molle-mystery-theatre','https://archive.org/details/OTRR_Molle_Mystery_Theatre_Singles');
insert into series_links values ('molle-mystery-theatre','https://en.wikipedia.org/wiki/Moll%C3%A9_Mystery_Theatre');
insert into series_links values ('molle-mystery-theatre','https://www.otrcat.com/p/molle-mystery');
insert into series_links values ('moon-over-africa','https://archive.org/details/OTRR_Moon_Over_Africa_Singles');
insert into series_links values ('moon-over-africa','https://www.otrcat.com/p/moon-over-africa');
insert into series_links values ('mothers-best-flour','https://archive.org/details/OTRR_Mothers_Best_Flour_Singles');
insert into series_links values ('mothers-best-flour','https://www.otrcat.com/p/mothers-best-flour-hank-williams');
insert into series_links values ('mr-and-mrs-north','https://archive.org/details/OTRR_Mr_and_Mrs_North_Singles');
insert into series_links values ('mr-and-mrs-north','https://en.wikipedia.org/wiki/Mr._and_Mrs._North');
insert into series_links values ('mr-and-mrs-north','https://www.otrcat.com/p/mr-and-mrs-north');
insert into series_links values ('mr-district-attorney','https://archive.org/details/OTRR_Mr_District_Attorney_Singles');
insert into series_links values ('mr-district-attorney','https://en.wikipedia.org/wiki/Mr._District_Attorney');
insert into series_links values ('mr-district-attorney','https://www.otrcat.com/p/mr-district-attorney');
insert into series_links values ('mr-keen-tracer-of-lost-persons','https://archive.org/details/OTRR_Mr_Keen_Tracer_Of_Lost_Persons_Singles');
insert into series_links values ('mr-keen-tracer-of-lost-persons','https://en.wikipedia.org/wiki/Mr._Keen,_Tracer_of_Lost_Persons');
insert into series_links values ('mr-keen-tracer-of-lost-persons','https://www.otrcat.com/p/mr-keen-tracer-of-lost-persons');
insert into series_links values ('mr-moto','https://en.wikipedia.org/wiki/Mr._Moto');
insert into series_links values ('mr-moto','https://www.otrcat.com/p/mr-moto');
insert into series_links values ('murder-at-midnight','https://archive.org/details/OTRR_Murder_at_Midnight_Singles');
insert into series_links values ('murder-at-midnight','https://en.wikipedia.org/wiki/Murder_at_Midnight_(radio_series)');
insert into series_links values ('murder-at-midnight','https://www.otrcat.com/p/murder-at-midnight');
insert into series_links values ('murder-by-experts','https://archive.org/details/OTRR_Murder_By_Experts_Singles');
insert into series_links values ('murder-by-experts','https://www.otrcat.com/p/murder-by-experts');
insert into series_links values ('my-favorite-husband','https://en.wikipedia.org/wiki/My_Favorite_Husband');
insert into series_links values ('my-favorite-husband','https://www.otrcat.com/p/my-favorite-husband');
insert into series_links values ('my-friend-irma','https://archive.org/details/OTRR_Maintained_My_Friend_Irma');
insert into series_links values ('my-friend-irma','https://en.wikipedia.org/wiki/My_Friend_Irma');
insert into series_links values ('my-friend-irma','https://www.otrcat.com/p/my-friend-irma');
insert into series_links values ('mystery-house','https://archive.org/details/OTRR_Mystery_House_Singles');
insert into series_links values ('mystery-house','https://en.wikipedia.org/wiki/Mystery_House_(radio_drama)');
insert into series_links values ('mystery-house','https://www.otrcat.com/p/mystery-house');
insert into series_links values ('mystery-in-the-air','https://www.otrcat.com/p/mystery-in-the-air-peter-lorre');
insert into series_links values ('mystery-is-my-hobby','https://www.otrcat.com/p/mystery-is-my-hobby');
insert into series_links values ('nero-wolfe-cbc','https://en.wikipedia.org/wiki/Nero_Wolfe_(1982_radio_series)');
insert into series_links values ('nick-carter-master-detective','https://archive.org/details/OTRR_Nick_Carter_Master_Detective_Singles');
insert into series_links values ('nick-carter-master-detective','https://en.wikipedia.org/wiki/Nick_Carter,_Master_Detective');
insert into series_links values ('nick-carter-master-detective','https://www.otrcat.com/p/nick-carter-master-detective');
insert into series_links values ('night-beat','https://en.wikipedia.org/wiki/Night_Beat_(radio_program)');
insert into series_links values ('night-beat','https://www.otrcat.com/p/night-beat');
insert into series_links values ('obsession','https://archive.org/details/OTRR_Obsession_Singles');
insert into series_links values ('obsession','https://www.otrcat.com/p/obsession');
insert into series_links values ('old-fashioned-revival-hour','https://www.otrcat.com/p/old-fashioned-revival-hour');
insert into series_links values ('old-gold-comedy-theater','https://archive.org/details/OTRR_Old_Gold_Comedy_Theater_Singles');
insert into series_links values ('old-gold-comedy-theater','https://www.otrcat.com/p/old-gold-comedy');
insert into series_links values ('on-stage','https://archive.org/details/OTRR_On_Stage_Singles_201901');
insert into series_links values ('on-stage','https://en.wikipedia.org/wiki/On_Stage_(radio_show)');
insert into series_links values ('on-stage','https://www.otrcat.com/p/on-stage');
insert into series_links values ('one-world-flight','https://archive.org/details/OTRR_One_World_Flight_Singles');
insert into series_links values ('one-world-flight','https://www.otrcat.com/p/one-world-flight');
insert into series_links values ('our-miss-brooks','https://archive.org/details/OTRR_Maintained_Our_Miss_Brooks');
insert into series_links values ('our-miss-brooks','https://en.wikipedia.org/wiki/Our_Miss_Brooks');
insert into series_links values ('our-miss-brooks','https://www.otrcat.com/p/our-miss-brooks');
insert into series_links values ('pat-novak-for-hire','https://archive.org/details/OTRR_Pat_Novak_Singles');
insert into series_links values ('pat-novak-for-hire','https://en.wikipedia.org/wiki/Pat_Novak,_for_Hire');
insert into series_links values ('pat-novak-for-hire','https://www.otrcat.com/p/pat-novak-for-hire');
insert into series_links values ('people-are-funny','https://en.wikipedia.org/wiki/People_Are_Funny');
insert into series_links values ('people-are-funny','https://www.otrcat.com/p/people-are-funny');
insert into series_links values ('perry-mason','https://en.wikipedia.org/wiki/Perry_Mason_(radio_series)');
insert into series_links values ('perry-mason','https://www.otrcat.com/p/perry-mason');
insert into series_links values ('philo-vance','https://archive.org/details/OTRR_Philo_Vance_Singles');
insert into series_links values ('philo-vance','https://en.wikipedia.org/wiki/Philo_Vance');
insert into series_links values ('philo-vance','https://www.otrcat.com/p/philo-vance');
insert into series_links values ('pinto-pete-and-his-ranch-boys','https://archive.org/details/OTRR_Pinto_Pete_and_His_Ranch_Boys_Singles');
insert into series_links values ('pinto-pete-and-his-ranch-boys','https://www.otrcat.com/p/pinto-pete-and-his-ranch-hands');
insert into series_links values ('pinto-pete-in-arizona','https://archive.org/details/OTRR_Pinto_Pete_in_Arizona_Singles');
insert into series_links values ('pinto-pete-in-arizona','https://www.otrcat.com/p/pinto-pete-in-arizona');
insert into series_links values ('planet-man','https://archive.org/details/OTRR_Planet_Man_Ver2_Singles');
insert into series_links values ('planet-man','https://www.otrcat.com/p/planet-man');
insert into series_links values ('police-headquarters','https://archive.org/details/OTRR_Police_Headquarters_Singles');
insert into series_links values ('police-headquarters','https://en.wikipedia.org/wiki/Police_Headquarters');
insert into series_links values ('police-reporter','https://archive.org/details/OTRR_Police_Reporter_Singles');
insert into series_links values ('police-reporter','https://www.otrcat.com/p/police-reporter');
insert into series_links values ('ports-of-call','https://archive.org/details/OTRR_Ports_Of_Call_Singles');
insert into series_links values ('proudly-we-hail','https://archive.org/details/OTRR_Proudly_We_Hail_Singles');
insert into series_links values ('proudly-we-hail','https://www.otrcat.com/p/proudly-we-hail');
insert into series_links values ('quiet-please','https://en.wikipedia.org/wiki/Quiet,_Please');
insert into series_links values ('quiet-please','https://www.otrcat.com/p/quiet-please');
insert into series_links values ('quiz-kids','https://en.wikipedia.org/wiki/Quiz_Kids');
insert into series_links values ('quiz-kids','https://www.otrcat.com/p/quiz-kids');
insert into series_links values ('ranger-bill','https://archive.org/details/OTRR_Ranger_Bill_Singles');
insert into series_links values ('ranger-bill','https://en.wikipedia.org/wiki/Ranger_Bill');
insert into series_links values ('recollections-at-30','https://archive.org/details/OTRR_Recollections_At_30_Singles');
insert into series_links values ('recollections-at-30','https://www.otrcat.com/p/recollections-at-thirty');
insert into series_links values ('red-horse-ranch','https://archive.org/details/OTRR_Red_Horse_Ranch_Singles');
insert into series_links values ('red-horse-ranch','https://www.otrcat.com/p/red-horse-ranch');
insert into series_links values ('redbook-dramas','https://archive.org/details/OTRR_Redbook_Dramas_Singles');
insert into series_links values ('redbook-dramas','https://www.otrcat.com/p/redbook-dramas');
insert into series_links values ('richard-diamond-private-detective','https://archive.org/details/OTRR_Richard_Diamond_Private_Detective_Singles');
insert into series_links values ('richard-diamond-private-detective','https://en.wikipedia.org/wiki/Richard_Diamond,_Private_Detective');
insert into series_links values ('richard-diamond-private-detective','https://www.otrcat.com/p/richard-diamond');
insert into series_links values ('ripleys-believe-it-or-not','https://en.wikipedia.org/wiki/Ripley%27s_Believe_It_or_Not!');
insert into series_links values ('ripleys-believe-it-or-not','https://www.otrcat.com/p/ripley-believe-it-or-not');
insert into series_links values ('ripleys-one-minute-shorts','https://en.wikipedia.org/wiki/Ripley%27s_Believe_It_or_Not!');
insert into series_links values ('ripleys-one-minute-shorts','https://www.otrcat.com/p/ripleys-one-minute-shorts');
insert into series_links values ('rocky-fortune','https://archive.org/details/OTRR_Rocky_Fortune_Singles');
insert into series_links values ('rocky-fortune','https://en.wikipedia.org/wiki/Rocky_Fortune');
insert into series_links values ('rocky-fortune','https://www.otrcat.com/p/rocky-fortune');
insert into series_links values ('rocky-jordan','https://en.wikipedia.org/wiki/Rocky_Jordan');
insert into series_links values ('rocky-jordan','https://www.otrcat.com/p/rocky-jordan');
insert into series_links values ('rogues-gallery','https://archive.org/details/OTRR_Rogues_Gallery_Singles');
insert into series_links values ('rogues-gallery','https://en.wikipedia.org/wiki/Rogue%27s_Gallery_(radio_series)');
insert into series_links values ('rogues-gallery','https://www.otrcat.com/p/rogues-gallery');
insert into series_links values ('romance','https://archive.org/details/OTRR_Certified_Romance_Singles');
insert into series_links values ('romance','https://www.otrcat.com/p/theater-of-romance');
insert into series_links values ('romance-of-the-ranchos','https://archive.org/details/OTRR_Romance_Ranchos_Singles');
insert into series_links values ('romance-of-the-ranchos','https://www.otrcat.com/p/romance-of-the-ranchos');
insert into series_links values ('rotary-golden-theater','https://archive.org/details/OTRR_Rotary_Golden_Theater_Singles');
insert into series_links values ('screen-directors-playhouse','https://archive.org/details/OTRR_Screen_Directors_Playhouse_Singles');
insert into series_links values ('screen-directors-playhouse','https://en.wikipedia.org/wiki/Screen_Directors_Playhouse');
insert into series_links values ('screen-directors-playhouse','https://www.otrcat.com/p/screen-directors-playhouse');
insert into series_links values ('sears-radio-theater','https://archive.org/details/OTRR_Sears_Radio_Theater_Singles');
insert into series_links values ('sears-radio-theater','https://en.wikipedia.org/wiki/Sears_Radio_Theater');
insert into series_links values ('secret-agent-k-7-returns','https://archive.org/details/OTRR_Secret_Agent_K7_Returns_Singles');
insert into series_links values ('secret-agent-k-7-returns','https://www.otrcat.com/p/secret-agent-k7-returns');
insert into series_links values ('secrets-of-scotland-yard','https://archive.org/details/OTRR_Secrets_Of_Scotland_Yard_Singles');
insert into series_links values ('secrets-of-scotland-yard','https://www.otrcat.com/p/secrets-scotland-yard');
insert into series_links values ('sf-68','https://www.otrcat.com/p/sf68');
insert into series_links values ('shell-chateau','https://archive.org/details/OTRR_Shell_Chateau_Singles');
insert into series_links values ('shell-chateau','https://en.wikipedia.org/wiki/Shell_Chateau');
insert into series_links values ('shell-chateau','https://www.otrcat.com/p/shell-chateau');
insert into series_links values ('sherlock-holmes','https://en.wikipedia.org/wiki/The_Adventures_of_Sherlock_Holmes_(radio_series)');
insert into series_links values ('sherlock-holmes','https://www.otrcat.com/p/sherlock-holmes');
insert into series_links values ('soldiers-of-the-press','https://archive.org/details/OTRR_Soldiers_Of_The_Press_Singles');
insert into series_links values ('soldiers-of-the-press','https://www.otrcat.com/p/soldiers-of-the-press');
insert into series_links values ('space-patrol','https://archive.org/details/OTRR_Space_Patrol_Singles');
insert into series_links values ('space-patrol','https://en.wikipedia.org/wiki/Space_Patrol_(1950_TV_series)');
insert into series_links values ('space-patrol','https://www.otrcat.com/p/space-patrol');
insert into series_links values ('speed-gibson-of-the-international-secret-police','https://en.wikipedia.org/wiki/Speed_Gibson_of_the_International_Secret_Police');
insert into series_links values ('speed-gibson-of-the-international-secret-police','https://www.otrcat.com/p/speed-gibson');
insert into series_links values ('stand-by-for-crime','https://archive.org/details/OTRR_Stand_By_For_Crime_Singles');
insert into series_links values ('stand-by-for-crime','https://en.wikipedia.org/wiki/Stand_By_for_Crime');
insert into series_links values ('stand-by-for-crime','https://www.otrcat.com/p/standby-for-crime');
insert into series_links values ('strange-as-it-seems','https://archive.org/details/OTRR_Strange_As_It_Seems_Singles');
insert into series_links values ('strange-as-it-seems','https://en.wikipedia.org/wiki/Strange_as_It_Seems');
insert into series_links values ('strange-as-it-seems','https://www.otrcat.com/p/strange-as-it-seems');
insert into series_links values ('strange-wills','https://archive.org/details/OTRR_Strange_Wills_Singles');
insert into series_links values ('strange-wills','https://www.otrcat.com/p/strange-wills');
insert into series_links values ('superman','https://en.wikipedia.org/wiki/The_Adventures_of_Superman_(radio_series)');
insert into series_links values ('superman','https://www.otrcat.com/p/superman');
insert into series_links values ('suspense','https://archive.org/details/OTRR_Suspense_Singles');
insert into series_links values ('suspense','https://en.wikipedia.org/wiki/Suspense_(radio_drama)');
insert into series_links values ('suspense','https://www.otrcat.com/p/suspense');
insert into series_links values ('tales-of-the-diamond-k','https://archive.org/details/OTRR_Tales_From_The_Diamond_K_Singles');
insert into series_links values ('tales-of-the-diamond-k','https://www.otrcat.com/p/tales-from-the-diamond-k');
insert into series_links values ('tales-of-the-texas-rangers','https://archive.org/details/OTRR_Tales_of_the_Texas_Rangers_Single');
insert into series_links values ('tales-of-the-texas-rangers','https://en.wikipedia.org/wiki/Tales_of_the_Texas_Rangers');
insert into series_links values ('tales-of-the-texas-rangers','https://www.otrcat.com/p/texas-rangers-tales-of-the-texas-rangers');
insert into series_links values ('tarzan-and-the-diamond-of-asher','https://archive.org/details/OTRR_Tarzan_Singles_TatDoA');
insert into series_links values ('tarzan-and-the-fires-of-tohr','https://archive.org/details/OTRR_Tarzan_Singles_TatFoT');
insert into series_links values ('tarzan-lord-of-the-jungle','https://archive.org/details/OTRR_Tarzan_Singles_TLotJ');
insert into series_links values ('tarzan-of-the-apes','https://archive.org/details/OTRR_Tarzan_Singles_TotA');
insert into series_links values ('the-adventures-of-ellery-queen','https://en.wikipedia.org/wiki/Ellery_Queen');
insert into series_links values ('the-adventures-of-ellery-queen','https://en.wikipedia.org/wiki/The_Adventures_of_Ellery_Queen_(radio_program)');
insert into series_links values ('the-adventures-of-ellery-queen','https://www.otrcat.com/p/adventures-of-ellery-queen');
insert into series_links values ('the-adventures-of-frank-race','https://archive.org/details/OTRR_Frank_Race_Singles');
insert into series_links values ('the-adventures-of-frank-race','https://en.wikipedia.org/wiki/The_Adventures_of_Frank_Race');
insert into series_links values ('the-adventures-of-frank-race','https://www.otrcat.com/p/frank-race');
insert into series_links values ('the-adventures-of-marco-polo','https://en.wikipedia.org/wiki/The_Adventures_of_Marco_Polo');
insert into series_links values ('the-adventures-of-ozzie-and-harriet','https://en.wikipedia.org/wiki/The_Adventures_of_Ozzie_and_Harriet');
insert into series_links values ('the-adventures-of-sam-spade','https://archive.org/details/OTRR_Sam_Spade_Singles');
insert into series_links values ('the-adventures-of-sam-spade','https://en.wikipedia.org/wiki/The_Adventures_of_Sam_Spade');
insert into series_links values ('the-adventures-of-sam-spade','https://www.otrcat.com/p/sam-spade');
insert into series_links values ('the-aldrich-family','https://en.wikipedia.org/wiki/The_Aldrich_Family');
insert into series_links values ('the-aldrich-family','https://www.otrcat.com/p/aldrich-family-henry-aldrich');
insert into series_links values ('the-baby-snooks-show','https://en.wikipedia.org/wiki/The_Baby_Snooks_Show');
insert into series_links values ('the-bickersons','https://en.wikipedia.org/wiki/The_Bickersons');
insert into series_links values ('the-big-show','https://archive.org/details/OTRR_The_Big_Show_Singles');
insert into series_links values ('the-big-show','https://en.wikipedia.org/wiki/The_Big_Show_(NBC_Radio)');
insert into series_links values ('the-big-show','https://www.otrcat.com/p/big-show');
insert into series_links values ('the-big-story','https://archive.org/details/OTRR_Big_Story_Singles');
insert into series_links values ('the-big-story','https://en.wikipedia.org/wiki/The_Big_Story_(radio_and_TV_series)');
insert into series_links values ('the-big-story','https://www.otrcat.com/p/big-story');
insert into series_links values ('the-bing-crosby-rosemary-clooney-show','https://archive.org/details/OTRR_BCRC_Singles');
insert into series_links values ('the-bing-crosby-rosemary-clooney-show','https://en.wikipedia.org/wiki/The_Bing_Crosby_%E2%80%93_Rosemary_Clooney_Show');
insert into series_links values ('the-bing-crosby-rosemary-clooney-show','https://www.otrcat.com/p/bing-crosby-and-rosemary-clooney-show');
insert into series_links values ('the-blue-beetle','https://archive.org/details/OTRR_Blue_Beetle_Singles');
insert into series_links values ('the-blue-beetle','https://www.otrcat.com/p/blue-beetle');
insert into series_links values ('the-burns-and-allen-show','https://en.wikipedia.org/wiki/Burns_and_Allen');
insert into series_links values ('the-burns-and-allen-show','https://www.otrcat.com/p/burns-and-allen');
insert into series_links values ('the-chase','https://www.otrcat.com/p/chase-the-chase');
insert into series_links values ('the-clock','https://en.wikipedia.org/wiki/The_Clock_(radio_series)');
insert into series_links values ('the-clyde-beatty-show','https://archive.org/details/OTRR_Clyde_Beatty_Show_Singles');
insert into series_links values ('the-clyde-beatty-show','https://en.wikipedia.org/wiki/Clyde_Beatty');
insert into series_links values ('the-clyde-beatty-show','https://www.otrcat.com/p/clyde-beatty');
insert into series_links values ('the-crime-club','https://archive.org/details/OTRR_Crime_Club_Singles');
insert into series_links values ('the-crime-club','https://en.wikipedia.org/wiki/The_Crime_Club');
insert into series_links values ('the-crime-club','https://www.otrcat.com/p/crime-club');
insert into series_links values ('the-damon-runyon-theatre','https://archive.org/details/OTRR_Damon_Runyon_Singles');
insert into series_links values ('the-damon-runyon-theatre','https://en.wikipedia.org/wiki/Damon_Runyon_Theater');
insert into series_links values ('the-damon-runyon-theatre','https://www.otrcat.com/p/damon-runyon');
insert into series_links values ('the-danny-kaye-show','https://archive.org/details/OTRR_Danny_Kaye_Singles');
insert into series_links values ('the-danny-kaye-show','https://en.wikipedia.org/wiki/The_Danny_Kaye_Show_(radio_program)');
insert into series_links values ('the-danny-kaye-show','https://www.otrcat.com/p/danny-kaye-show');
insert into series_links values ('the-devil-and-mr-o','https://archive.org/details/OTRR_The_Devil_And_Mr_O_Singles');
insert into series_links values ('the-devil-and-mr-o','https://www.otrcat.com/p/devil-and-mr-o');
insert into series_links values ('the-falcon','https://archive.org/details/OTRR_Falcon_Singles');
insert into series_links values ('the-falcon','https://en.wikipedia.org/wiki/The_Falcon_(radio_series)');
insert into series_links values ('the-falcon','https://www.otrcat.com/p/falcon');
insert into series_links values ('the-fbi-in-peace-and-war','https://en.wikipedia.org/wiki/The_FBI_in_Peace_and_War');
insert into series_links values ('the-fbi-in-peace-and-war','https://www.otrcat.com/p/fbi-in-peace-and-war');
insert into series_links values ('the-fred-allen-show','https://en.wikipedia.org/wiki/The_Fred_Allen_Show');
insert into series_links values ('the-fred-allen-show','https://www.otrcat.com/p/fred-allen');
insert into series_links values ('the-grantland-rice-story','https://archive.org/details/OTRR_Grantland_Rice_Story_Singles');
insert into series_links values ('the-grantland-rice-story','https://www.otrcat.com/p/grantland-rice-story');
insert into series_links values ('the-great-gildersleeve','https://archive.org/details/Otrr_The_Great_Gildersleeve_Singles');
insert into series_links values ('the-great-gildersleeve','https://en.wikipedia.org/wiki/The_Great_Gildersleeve');
insert into series_links values ('the-great-gildersleeve','https://www.otrcat.com/p/great-gildersleeve');
insert into series_links values ('the-green-hornet','https://en.wikipedia.org/wiki/The_Green_Hornet_(radio_series)');
insert into series_links values ('the-harold-peary-show','https://archive.org/details/OTRR_Harold_Peary_Show_Singles');
insert into series_links values ('the-harold-peary-show','https://en.wikipedia.org/wiki/The_Harold_Peary_Show');
insert into series_links values ('the-harold-peary-show','https://www.otrcat.com/p/harold-peary');
insert into series_links values ('the-haunting-hour','https://www.otrcat.com/p/haunting-hour');
insert into series_links values ('the-hermits-cave','https://en.wikipedia.org/wiki/The_Hermit%27s_Cave');
insert into series_links values ('the-hermits-cave','https://www.otrcat.com/p/hermits-cave');
insert into series_links values ('the-hillbilly-boys','https://archive.org/details/OTRR_The_Hillbilly_Boys_Singles');
insert into series_links values ('the-hillbilly-boys','https://www.otrcat.com/p/pat-odaniel-and-his-hillbilly-boys');
insert into series_links values ('the-jack-benny-program','https://archive.org/details/OTRR_Jack_Benny_Singles_1949-1950');
insert into series_links values ('the-jack-benny-program','https://en.wikipedia.org/wiki/The_Jack_Benny_Program');
insert into series_links values ('the-jack-benny-program','https://www.otrcat.com/p/jack-benny');
insert into series_links values ('the-key','https://www.otrcat.com/p/key');
insert into series_links values ('the-life-of-riley','https://en.wikipedia.org/wiki/The_Life_of_Riley');
insert into series_links values ('the-life-of-riley','https://www.otrcat.com/p/life-of-riley');
insert into series_links values ('the-line-up','https://archive.org/details/OTRR_Line_Up_Singles');
insert into series_links values ('the-line-up','https://www.otrcat.com/p/lineup');
insert into series_links values ('the-lives-of-harry-lime','https://archive.org/details/OTRR_Harey_Lime_Singles');
insert into series_links values ('the-lives-of-harry-lime','https://www.otrcat.com/p/harry-lime-the-third-man');
insert into series_links values ('the-lone-ranger','https://archive.org/details/OTRR_LoneRanger_Singles');
insert into series_links values ('the-lone-ranger','https://en.wikipedia.org/wiki/Lone_Ranger');
insert into series_links values ('the-lone-ranger','https://www.otrcat.com/p/lone-ranger');
insert into series_links values ('the-man-called-x','https://archive.org/details/OTRR_Man_Called_X_Singles');
insert into series_links values ('the-man-called-x','https://en.wikipedia.org/wiki/The_Man_Called_X');
insert into series_links values ('the-man-called-x','https://www.otrcat.com/p/man-called-x');
insert into series_links values ('the-marriage','https://archive.org/details/OTTR_The_Marriage_Singles');
insert into series_links values ('the-marriage','https://en.wikipedia.org/wiki/The_Marriage_(radio)');
insert into series_links values ('the-marriage','https://www.otrcat.com/p/marriage-the');
insert into series_links values ('the-martin-and-lewis-show','https://en.wikipedia.org/wiki/The_Martin_and_Lewis_Show');
insert into series_links values ('the-martin-and-lewis-show','https://www.otrcat.com/p/martin-and-lewis');
insert into series_links values ('the-mel-blanc-show','https://archive.org/details/OTRR_Mel_Blanc_Singles');
insert into series_links values ('the-mel-blanc-show','https://en.wikipedia.org/wiki/The_Mel_Blanc_Show');
insert into series_links values ('the-mel-blanc-show','https://www.otrcat.com/p/mel-blanc');
insert into series_links values ('the-mysterious-traveler','https://archive.org/details/OTRR_Mysterious_Traveler_Singles');
insert into series_links values ('the-mysterious-traveler','https://en.wikipedia.org/wiki/The_Mysterious_Traveler');
insert into series_links values ('the-mysterious-traveler','https://www.otrcat.com/p/mysterious-traveler');
insert into series_links values ('the-new-adventures-of-nero-wolfe','https://archive.org/details/OTRR_New_Adventures_of_Nero_Wolfe_Singles');
insert into series_links values ('the-new-adventures-of-nero-wolfe','https://en.wikipedia.org/wiki/The_New_Adventures_of_Nero_Wolfe');
insert into series_links values ('the-new-adventures-of-nero-wolfe','https://www.otrcat.com/p/nero-wolfe');
insert into series_links values ('the-pacific-story','https://archive.org/details/OTRR_Pacific_Story_Singles');
insert into series_links values ('the-pacific-story','https://www.otrcat.com/p/pacific-story');
insert into series_links values ('the-phil-harris-alice-faye-show','https://archive.org/details/OTRR_Harris_Faye_Singles');
insert into series_links values ('the-phil-harris-alice-faye-show','https://en.wikipedia.org/wiki/The_Phil_Harris-Alice_Faye_Show');
insert into series_links values ('the-phil-harris-alice-faye-show','https://www.otrcat.com/p/phil-harris-and-alice-faye');
insert into series_links values ('the-red-skelton-show','https://en.wikipedia.org/wiki/The_Red_Skelton_Show');
insert into series_links values ('the-red-skelton-show','https://www.otrcat.com/p/red-skelton-show');
insert into series_links values ('the-roy-rogers-show','https://archive.org/details/OTRR_Roy_Rogers_Singles');
insert into series_links values ('the-roy-rogers-show','https://en.wikipedia.org/wiki/The_Roy_Rogers_Show_(radio_program)');
insert into series_links values ('the-roy-rogers-show','https://www.otrcat.com/p/roy-rogers');
insert into series_links values ('the-saint','https://en.wikipedia.org/wiki/The_Saint_(radio_program)');
insert into series_links values ('the-saint','https://www.otrcat.com/p/saint-vincent-price');
insert into series_links values ('the-scarlet-pimpernel','https://www.otrcat.com/p/scarlet-pimpernel');
insert into series_links values ('the-sealed-book','https://archive.org/details/OTRR_Sealed_Book_Singles');
insert into series_links values ('the-sealed-book','https://en.wikipedia.org/wiki/The_Sealed_Book');
insert into series_links values ('the-sealed-book','https://www.otrcat.com/p/sealed-book');
insert into series_links values ('the-shadow','https://en.wikipedia.org/wiki/The_Shadow');
insert into series_links values ('the-six-shooter','https://archive.org/details/OTRR_The_Six_Shooter_Singles');
insert into series_links values ('the-six-shooter','https://en.wikipedia.org/wiki/The_Six_Shooter');
insert into series_links values ('the-six-shooter','https://www.otrcat.com/p/six-shooter');
insert into series_links values ('the-sound-of-war','https://archive.org/details/OTRR_Sound_of_War_Singles');
insert into series_links values ('the-sound-of-war','https://www.otrcat.com/p/sounds-of-war');
insert into series_links values ('the-strange-dr-weird','https://archive.org/details/OTRR_Strange_Dr_Weird_Singles');
insert into series_links values ('the-strange-dr-weird','https://en.wikipedia.org/wiki/The_Strange_Dr._Weird');
insert into series_links values ('the-strange-dr-weird','https://www.otrcat.com/p/strange-doctor-weird');
insert into series_links values ('the-tenth-man','https://archive.org/details/OTRR_The_Tenth_Man_Singles');
insert into series_links values ('the-tenth-man','https://www.otrcat.com/p/tenth-man');
insert into series_links values ('the-unexpected','https://www.otrcat.com/p/unexpected');
insert into series_links values ('the-weird-circle','https://archive.org/details/OTRR_Weird_Circle_Singles');
insert into series_links values ('the-weird-circle','https://en.wikipedia.org/wiki/The_Weird_Circle');
insert into series_links values ('the-weird-circle','https://www.otrcat.com/p/weird-circle');
insert into series_links values ('the-whistler','https://archive.org/details/OTRR_Whistler_Singles');
insert into series_links values ('the-whistler','https://en.wikipedia.org/wiki/The_Whistler_(radio_series)');
insert into series_links values ('the-whistler','https://www.otrcat.com/p/whistler');
insert into series_links values ('theater-five','https://archive.org/details/OTRR_Theater_Five_Singles');
insert into series_links values ('theater-five','https://en.wikipedia.org/wiki/Theatre-Five');
insert into series_links values ('theatre-royal','https://archive.org/details/OTRR_Theatre_Royal_Singles');
insert into series_links values ('theatre-royal','https://www.otrcat.com/p/theater-royal');
insert into series_links values ('this-is-your-fbi','https://archive.org/details/OTRR_This_Is_Your_FBI_Singles');
insert into series_links values ('this-is-your-fbi','https://en.wikipedia.org/wiki/This_Is_Your_FBI');
insert into series_links values ('this-is-your-fbi','https://www.otrcat.com/p/this-is-your-fbi');
insert into series_links values ('truth-or-consequences','https://en.wikipedia.org/wiki/Truth_or_Consequences');
insert into series_links values ('truth-or-consequences','https://www.otrcat.com/p/truth-or-consequences');
insert into series_links values ('vic-and-sade','https://en.wikipedia.org/wiki/Vic_and_Sade');
insert into series_links values ('vic-and-sade','https://www.otrcat.com/p/vic-and-sade');
insert into series_links values ('vox-pop','https://en.wikipedia.org/wiki/Vox_Pop_(radio)');
insert into series_links values ('vox-pop','https://www.otrcat.com/p/vox-pop');
insert into series_links values ('we-came-this-way','https://archive.org/details/OTRR_We_Came_This_Way_Singles');
insert into series_links values ('we-came-this-way','https://www.otrcat.com/p/we-came-this-way');
insert into series_links values ('whitehall-1212','https://archive.org/details/OTRR_Whitehall_1212_Singles');
insert into series_links values ('whitehall-1212','https://en.wikipedia.org/wiki/Whitehall_1212_(radio_show)');
insert into series_links values ('whitehall-1212','https://www.otrcat.com/p/whitehall-1212');
insert into series_links values ('wild-bill-hickok','https://archive.org/details/OTRR_Wild_Bill_Hickock_Singles');
insert into series_links values ('wild-bill-hickok','https://www.otrcat.com/p/wild-bill-hickok');
insert into series_links values ('wjsv-complete-broadcast-day','https://archive.org/details/OTRR_WJSV_Complete_Day_Singles');
insert into series_links values ('wjsv-complete-broadcast-day','https://en.wikipedia.org/wiki/WJSV_broadcast_day');
insert into series_links values ('wjsv-complete-broadcast-day','https://www.otrcat.com/p/complete-broadcast-1939-nazi-invasion-of-poland');
insert into series_links values ('words-at-war','https://archive.org/details/OTRR_Words_At_War_Singles');
insert into series_links values ('words-at-war','https://www.otrcat.com/p/words-at-war');
insert into series_links values ('world-adventurers-club','https://archive.org/details/OTRR_World_Adventurer_Club_Singles');
insert into series_links values ('world-adventurers-club','https://www.otrcat.com/p/world-adventurers-club');
insert into series_links values ('x-minus-one','https://archive.org/details/OTRR_X_Minus_One_Singles');
insert into series_links values ('x-minus-one','https://en.wikipedia.org/wiki/X_Minus_One');
insert into series_links values ('x-minus-one','https://www.otrcat.com/p/x-minus-one');
insert into series_links values ('you-are-there','https://en.wikipedia.org/wiki/You_Are_There_(series)');
insert into series_links values ('you-are-there','https://www.otrcat.com/p/you-are-there');
insert into series_links values ('you-bet-your-life','https://en.wikipedia.org/wiki/You_Bet_Your_Life');
insert into series_links values ('you-bet-your-life','https://www.otrcat.com/p/you-bet-your-life');
insert into series_links values ('you-cant-do-business-with-hitler','https://archive.org/details/OTRR_You_Cant_Do_Business_With_Hitler_Singles');
insert into series_links values ('you-cant-do-business-with-hitler','https://www.otrcat.com/p/you-cant-do-business-with-hitler');
insert into series_links values ('yours-truly-johnny-dollar','https://archive.org/details/OTRR_YoursTrulyJohnnyDollar_Singles');
insert into series_links values ('yours-truly-johnny-dollar','https://en.wikipedia.org/wiki/Yours_Truly,_Johnny_Dollar');
insert into series_links values ('yours-truly-johnny-dollar','https://www.otrcat.com/p/johnny-dollar-yours-truly-johnny-dollar');
insert into series_links values ('the-health-and-happiness-show','https://www.offbeat.com/music/hank-williams-the-complete-health-happiness-recordings-bmg/');
insert into series_links values ('classic-baseball-mlb','https://sabr.org/century/1921/radio');
insert into series_links values ('complete-broadcast-day-d-day','https://www.otrcat.com/p/complete-broadcast-1944-d-day-invasion-of-normandy-cbs');

View file

@ -0,0 +1,4 @@
{
"googleApiKey": "",
"googleSearchId": ""
}

127
scripts/populate-links.csx Executable file
View file

@ -0,0 +1,127 @@
#!/usr/bin/env dotnet-script
#nullable enable
#r "nuget: GoogleApi, 4.5.4"
#r "nuget: Microsoft.Data.Sqlite, 7.0.4"
using System.Text.Json;
using GoogleApi;
using GoogleApi.Entities.Common.Enums;
using GoogleApi.Entities.Search.Common;
using GoogleApi.Entities.Search.Web.Request;
using Microsoft.Data.Sqlite;
using SQLitePCL;
private readonly string BASE_PATH = Path.GetFullPath("..");
private readonly string CONNECTION_STRING =
$"Data Source={Path.Combine(BASE_PATH, "db", "radiostasis.db")}";
private string configJson = File.ReadAllText(
Path.Combine(BASE_PATH, "scripts", "config.json"));
private Dictionary<string, string> config =
JsonSerializer.Deserialize<Dictionary<string, string>>(configJson)
?? new();
private IEnumerable<(int, string, string)> DoQuery(string query, int page = 1) {
var urls = new List<(int, string, string)>();
var start = ((page - 1) * 10) + 1;
var request = new WebSearchRequest {
Key = config["googleApiKey"],
SearchEngineId = config["googleSearchId"],
Query = query,
Options = new SearchOptions {
Number = 10,
StartIndex = start,
},
};
var response = GoogleSearch.WebSearch.Query(request)
?? throw new Exception("response was null");
if (response.Status != Status.Ok)
throw new Exception("response was not ok");
if (response.Items == null)
throw new Exception("response.Items was null");
var nbr = start;
foreach (var item in response.Items) {
urls.Add((nbr++, item.Link, item.Title));
}
return urls;
}
private IEnumerable<string> GetSearchUrls(string showName, string query) {
var urls = DoQuery(query).Concat(DoQuery(query, 2));
foreach (var url in urls) {
WriteLine($"{url.Item1} - {url.Item2} [{url.Item3}]");
}
WriteLine();
WriteLine($"The show is '{showName}'.");
Write("Urls (eg. 1,3,5) or 'r' to retry: ");
var use = ReadLine();
if (use == "r") {
Write("Retry with query: ");
var newQuery = ReadLine() ?? query;
return GetSearchUrls(showName, newQuery);
} else if (string.IsNullOrEmpty(use)) {
return Array.Empty<string>();
}
return use.Split(",").Select(n => int.Parse(n) - 1)
.Select(i => urls.ElementAt(i).Item2).Order();
}
private IEnumerable<string> GetShowUrls(string showName) {
return GetSearchUrls(showName, $"{showName} old time radio show");
}
private void PopulateMissingUrls() {
var shows = new List<(string, string)>();
using (var connection = new SqliteConnection(CONNECTION_STRING)) {
connection.Open();
using var cmd = connection.CreateCommand();
cmd.CommandText =
@"select series_slug, title from series s
where not exists (
select 1 from series_links
where series_slug=s.series_slug)";
using var reader = cmd.ExecuteReader();
while (reader.Read()) {
var slug = reader.GetString(0);
var title = reader.GetString(1);
shows.Add((slug, title));
}
}
foreach (var show in shows) {
var urls = GetShowUrls(show.Item2);
SaveUrls(show.Item1, urls);
}
}
private void SaveUrls(string slug, IEnumerable<string> urls) {
using var connection = new SqliteConnection(CONNECTION_STRING);
connection.Open();
foreach (var url in urls) {
using var cmd = connection.CreateCommand();
cmd.CommandText =
@"insert into series_links (series_slug, link_url)
values (@slug, @url)";
var slugParam = cmd.CreateParameter();
slugParam.ParameterName = "@slug";
slugParam.Value = slug;
var urlParam = cmd.CreateParameter();
urlParam.ParameterName = "@url";
urlParam.Value = url;
cmd.Parameters.Add(slugParam);
cmd.Parameters.Add(urlParam);
cmd.ExecuteNonQuery();
}
}
Batteries.Init();
PopulateMissingUrls();