TWB icon indicating copy to clipboard operation
TWB copied to clipboard

Villages not added to the config

Open TomekQ13 opened this issue 2 years ago • 2 comments

Hi, I have an issue because villages are not being added to the config - I'm just getting: 2022-03-28 22:32:50 - Requests - DEBUG - GET https://pl175.plemiona.pl/game.php?screen=overview [200] 2022-03-28 22:32:57 - Requests - DEBUG - GET https://pl175.plemiona.pl/game.php?screen=overview_villages [200] 2022-03-28 22:32:57 - FarmManager - INFO - Villages: 0 2022-03-28 22:32:57 - FarmManager - INFO - Reports: 0 2022-03-28 22:32:57 - FarmManager - INFO - Farms: 0 2022-03-28 22:32:57 - FarmManager - INFO - Total loot: {'wood': 0, 'iron': 0, 'stone': 0} Dead for 4.566667.2 minutes (next run at: 22:37:31.998917)

I looked around but to be honest I feel a little bit stuck. Do you have any ideas what could've gone wrong?

TomekQ13 avatar Mar 28 '22 20:03 TomekQ13

It might be possible that the village id HTML was changed (on your server). You can test the regex on https://github.com/stefan2200/TWB/blob/master/core/extractors.py#L129 against the overview_villages HTML. If that is the case then it should be a simple fix. Otherwise you might have to copy the template and add the village id keys yourself.

stefan2200 avatar Mar 29 '22 12:03 stefan2200

@stefan2200 Where is the template, I want to add villages by hand

cemalgndzz avatar Sep 24 '23 13:09 cemalgndzz