SUST custom feeds #6
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#6
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?
Four languages (english, french, italian, german) and two types: aviation and rail/marine.
Example: French aviation search form
The search form performs a POST request to the same URL (
/index.php?id=...
). Some URLs have simpler slugified versions, but the form still posts to the URL with IDs.The site probably changed while I was busy implementing other feeds. To generate a feed, I would need to make a GET request to the form page, which gives me a
cHash
that I will need. I can then make a GET request which includes the cHash and other parameters, and I will get a table with 1860 hidden<tr>
fields withdata-
attributes that include a URL to get a JSON payload for each of the reports. That makes for 1862 requests to generate the feeds.I could implement that, but I don't want to overload tilde.town once a day and maybe get us blocked due to what looks like a DoS attack. The other option is to write a script that isn't stateless, which is definitely not what the whole ITSB pipeline is currently designed for, and only fetch reports that were not already fetched.