ATSB feed requires rewrite #119
Labels
No Label
bug
duplicate
enhancement
external cause:politics
external cause:upstream bug
feed
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: lucidiot/itsb#119
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The safety investigation reports page that the ATSB custom feed was using has been removed in favor of three different report pages: aviation, rail, marine. Both the marine and rail investigation pages however do allow removing the "mode of transportation" filter using
?field_mode_of_transport_target_id=All
, so we should be able to rewrite the feed and also add new feeds for separate means of transportation.Note that the ATSB now hides itself behind AkamaiGHost. From the very little documentation I can find online it appears to just be a CDN. From testing with
curl
, it seems it only works over HTTP/2, and it returns HTTP 403 if any of the following conditions are met:Accept-Encoding
header is not setAccept-Language
header does not match the case-sensitive regex^[a-z][a-z]([-,]|$)
Cache-Control
header is not setUser-Agent
header is not set to something that contains a slashUser-Agent
header is set toChrome/
orFirefox/
followed by a version number that is missing a minor, such asChrome/100
(having any number after the minor such as100.0.0.0.0.0
is accepted)User-Agent
header is set toChrome/
followed by a version number that is below 89.0User-Agent
header is set toFirefox/
followed by a version number that is below 71.0User-Agent
header containswget
orcurl
curl + pup command that could be used to get both the discontinued and completed investigations (just like what we are currently doing):