AmericanEnglish / pso2eqbot

PSO2NAEQ Bot
0 stars 0 forks source link

Some events do not show up with a duration and also show up multiple times #2

Open AmericanEnglish opened 4 years ago

AmericanEnglish commented 4 years ago

The main problem would be something like an Arks-League event which spanned 3 1/2 hour blocks. The table parser doesn't realizes that the 3 1/2 hour blocks are together. So you get three starting times which are all the a 1/2 a part but with no duration.

Best bet is have isolate all entries with no duration and see how many 1/2 hour blocks they take up. Assign the total duration to the first occurrence. Delete the duplicate entries.

It is also possible that events will pop up which just have no duration in indicated in the legend table BUT have an obvious duration when consulting the event table.

As a separate issue, one must handle the possibility of "no duration" twitter announcements as well.

AmericanEnglish commented 4 years ago

fd80dfb fixed the duplicate entry issue