Der-Henning / tgtg

Scanner for Too Good To Go Notifications
https://github.com/Der-Henning/tgtg/wiki
GNU General Public License v3.0
415 stars 68 forks source link

Monitor "Livraison" side of the application #533

Open laurentlabat opened 3 months ago

laurentlabat commented 3 months ago

Hi,

I would like to use the tgtg-scanner to monitor when new "Livraison" packages are available. "Livraison" is at least available in france, and offers the option to order a parcel of items (and this is sent by TGTG or by one of their supplier), but does not rely on your location.

You just need to place an order when the "parcel" is available, and this is delivered by a shipping company to your home.

Is there an option to look into that, or any idea on how to proceed to extend the current scanner or that option ?

thanks, tgtg-livraison

floriegl commented 2 months ago

In English, it's called "Delivery" and it looks like it's available in multiple countries. I would say the main question would be how the delivery items should be handled. As you can't favorite them, you can only check for all at once.

laurentlabat commented 2 months ago

Thanks.

My 2 cents on this :

As these items are not location specific, and are available for sale for a predefined number of items, getting a notification for each addition in the available section is a good starting point, and useful for users.

For the “backlog”, I would say that we can keep track of the available ones, in the “current” list. At each check,

Let me know if this is clear or not.

Le jeu. 12 sept. 20 à 19:32, floriegl @.***> a écrit :

In English, it's called "Delivery" and it looks like it's available in multiple countries. I would say the main question would be how the delivery items should be handled. As you can't favorite them, you can only check for all at once.

  • Does it make sense to send out a notification whenever a new delivery item gets added and/or gets available again?
  • How would the monitor store the delivery items where a notification already got sent out? If you store them forever, it could lead to an issue with storage. And not saving them would lead to the issue, that all notifications get sent again after a bot restart...

— Reply to this email directly, view it on GitHub https://github.com/Der-Henning/tgtg/issues/533#issuecomment-2346862934, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKHBAGODJ2JMLMGRUNX6M3ZWHFZPAVCNFSM6AAAAABMWLA75SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBWHA3DEOJTGQ . You are receiving this because you authored the thread.Message ID: @.***>

floriegl commented 2 months ago

This also duplicates https://github.com/Der-Henning/tgtg/issues/529 as I have just noticed