matztam / ARD-Audiothek-RSS

ARD Audiothek rss feed generator
49 stars 13 forks source link

Doesn't seem to work #1

Closed shrippen closed 2 years ago

shrippen commented 2 years ago

Hi, I just tried your script to generate an RSS Feed for Kalk & Welk but the script generated this rss feed:

`

https://www.ardaudiothek.de/sendung/https://www.ardaudiothek.de/sendung/

`

matztam commented 2 years ago

There seems to be a problem with the Audiothek API at the moment.

https://api.ardaudiothek.de/programsets/10777871 returns

{"errors":[{"message":"Value \"GROUP_NUMBER_ASC\" does not exist in \"ItemsOrderBy\" enum. Did you mean the enum value \"MAX_GROUP_NUMBER_ASC\", \"EPISODE_NUMBER_ASC\", \"GROUP_ID_ASC\", \"MAX_GROUP_NUMBER_DESC\", or \"GROUP_ID_DESC\"?","extensions":{"code":"GRAPHQL_VALIDATION_FAILED","exception":{"stacktrace":["GraphQLError: Value \"GROUP_NUMBER_ASC\" does not exist in \"ItemsOrderBy\" enum. Did you mean the enum value \"MAX_GROUP_NUMBER_ASC\", \"EPISODE_NUMBER_ASC\", \"GROUP_ID_ASC\", \"MAX_GROUP_NUMBER_DESC\", or \"GROUP_ID_DESC\"?"," at GraphQLEnumType.parseLiteral (/app/node_modules/graphql/type/definition.js:1040:13)"," at isValidValueNode (/app/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js:125:28)"," at Object.EnumValue (/app/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js:84:14)"," at Object.enter (/app/node_modules/graphql/language/visitor.js:323:29)"," at Object.enter (/app/node_modules/graphql/utilities/TypeInfo.js:370:25)"," at visit (/app/node_modules/graphql/language/visitor.js:243:26)"," at validate (/app/node_modules/graphql/validation/validate.js:69:24)"," at validate (/app/node_modules/apollo-server-core/dist/requestPipeline.js:185:39)"," at processGraphQLRequest (/app/node_modules/apollo-server-core/dist/requestPipeline.js:90:34)"," at runMicrotasks (<anonymous>)"]}}}]}

shrippen commented 2 years ago

Ah, okay. Then I will test again in a few days. Thanks for the work!


From: matztam @.> Sent: Saturday, October 8, 2022 4:34:25 PM To: matztam/ARD-Audiothek-RSS @.> Cc: shrippen @.>; Author @.> Subject: Re: [matztam/ARD-Audiothek-RSS] Doesn't seem to work (Issue #1)

There seems to be a problem with the Audiothek API at the moment.

https://api.ardaudiothek.de/programsets/10777871https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapi.ardaudiothek.de%2Fprogramsets%2F10777871&data=05%7C01%7C%7C9a9c3fe074584c1de9d808daa93a3306%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638008364675348903%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hWl4s3WFfrt3Ua8yDezqA0cmGEAYZ%2FxxUl7GDMbT5Rg%3D&reserved=0 returns

{"errors":[{"message":"Value \"GROUP_NUMBER_ASC\" does not exist in \"ItemsOrderBy\" enum. Did you mean the enum value \"MAX_GROUP_NUMBER_ASC\", \"EPISODE_NUMBER_ASC\", \"GROUP_ID_ASC\", \"MAX_GROUP_NUMBER_DESC\", or \"GROUP_ID_DESC\"?","extensions":{"code":"GRAPHQL_VALIDATION_FAILED","exception":{"stacktrace":["GraphQLError: Value \"GROUP_NUMBER_ASC\" does not exist in \"ItemsOrderBy\" enum. Did you mean the enum value \"MAX_GROUP_NUMBER_ASC\", \"EPISODE_NUMBER_ASC\", \"GROUP_ID_ASC\", \"MAX_GROUP_NUMBER_DESC\", or \"GROUP_ID_DESC\"?"," at GraphQLEnumType.parseLiteral (/app/node_modules/graphql/type/definition.js:1040:13)"," at isValidValueNode (/app/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js:125:28)"," at Object.EnumValue (/app/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js:84:14)"," at Object.enter (/app/node_modules/graphql/language/visitor.js:323:29)"," at Object.enter (/app/node_modules/graphql/utilities/TypeInfo.js:370:25)"," at visit (/app/node_modules/graphql/language/visitor.js:243:26)"," at validate (/app/node_modules/graphql/validation/validate.js:69:24)"," at validate (/app/node_modules/apollo-server-core/dist/requestPipeline.js:185:39)"," at processGraphQLRequest (/app/node_modules/apollo-server-core/dist/requestPipeline.js:90:34)"," at runMicrotasks ()"]}}}]}

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmatztam%2FARD-Audiothek-RSS%2Fissues%2F1%23issuecomment-1272333341&data=05%7C01%7C%7C9a9c3fe074584c1de9d808daa93a3306%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638008364675505141%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=s6YOFTQI6zXddm3d3LaRITFvKLibfHxnkhpFwZ3Pf6k%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAV5RYVYOMILT7QHK3EWHE3WCGA7DANCNFSM6AAAAAARAIBLKE&data=05%7C01%7C%7C9a9c3fe074584c1de9d808daa93a3306%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638008364675505141%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hGhJZBLk4RxH7crk%2FGb9LPvSqDVcrMwEtA%2F9TMwPF88%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

matztam commented 2 years ago

Since the problems with the REST API persist and the error message suggests that the REST API is just a wrapper of the GraphQL API, I have now switched to GraphQL.