1616´x-´= we find another download for the same or reworked version elsewhere.
1717Scraping should be able to follow but a small list with spacial cases could be accepted.
1818
19+ The special once that we need to handle separately
20+ War of the Worlds 3430 -> https://sites.google.com/view/trwotw/war-of-the-worlds/download
21+ There should be one more download that don't work but can remember which one
22+
1923Fragments of the Core 1158 x- https://trcustoms.org/levels/1137
2024Land of the Rising Sun 1186 -> trlevel.de x- https://trcustoms.org/levels/1165
2125LB Advent Calendar 2004 - December 17th 1236 x- NO DOWNLOAD
109113Louvre Galleries (Demo) 3362 -> https://trcustoms.org/levels/3295
110114Kitten Adventure (Demo) 3379 -> https://trcustoms.org/levels/3312
111115Create a Classic 2021 - Fantome 3426 -> https://trcustoms.org/levels/3359
112- War of the Worlds 3430 -> https://sites.google.com/view/trwotw/war-of-the-worlds/download
113116The Forbidden Place 3470 -> https://trcustoms.org/levels/3421
114117Sanguis Virginis (Definitive Demo) 3491 x- https://trcustoms.org/levels/3438
115118The Perils Ahead 3495 x- https://trcustoms.org/levels/3466
@@ -334,9 +337,11 @@ def get_zip_file_info(lid):
334337 redirect_url .startswith ("https://www.trle.net/levels/levels/" ):
335338 files = [_get_download_info (lid , redirect_url )]
336339
337- if redirect_url .startswith ("https://www.trle.net/sc/levelfeatures.php?lid=" ):
340+ if redirect_url .startswith ("https://www.trle.net/sc/levelfeatures.php?lid=" ) or \
341+ redirect_url == "https://www.trlevel.de" :
338342 trle_info = _get_trle_info (lid )
339343 files .extend (_search_trcustoms (trle_info ))
344+ files .extend (_get_trlevel_download_info (trle_info ))
340345
341346 if redirect_url .lower ().endswith ("/btb/web/index.html" ) and \
342347 redirect_url .startswith ("https://www.trle.net/levels/levels" ):
@@ -353,10 +358,6 @@ def get_zip_file_info(lid):
353358 trcustoms_level_dict = scrape_common .get_json (api_url )
354359 files = [_get_trcustoms_download_info (trcustoms_level_dict )]
355360
356- if redirect_url == "https://www.trlevel.de" :
357- trle_info = _get_trle_info (lid )
358- files .extend (_get_trlevel_download_info (trle_info ))
359-
360361 return files
361362
362363
0 commit comments