suumo-search

Perform advanced searches on Suumo.jp
git clone https://git.neuralcrash.com/suumo-search.git
Log | Files | Refs | README

tokyo-house-expression.cfg (1130B)


      1 
      2 # At least one good route
      3 (
      4 	# Fast route
      5 
      6 	(
      7 		  (#fastestRoute(#property, '東京駅', '三越前', '大手町(東京都)駅').time + #property.walkTimeToStation) <= 40
      8 		&& #fastestRoute(#property, '東京駅', '三越前', '大手町(東京都)駅').fare <= 750
      9 		&& #fastestRoute(#property, '東京駅', '三越前', '大手町(東京都)駅').transfer <= 1
     10 	)
     11 
     12 	# Cheap route
     13 
     14  || (
     15 		  (#cheapestRoute(#property, '東京駅', '三越前', '大手町(東京都)駅').time + #property.walkTimeToStation) <= 60
     16 		&& #cheapestRoute(#property, '東京駅', '三越前', '大手町(東京都)駅').fare <= 500
     17 		&& #cheapestRoute(#property, '東京駅', '三越前', '大手町(東京都)駅').transfer <= 1
     18 	)
     19 
     20 	# Direct route
     21 
     22  || (
     23 		  (#easiestRoute(#property, '東京駅', '三越前', '大手町(東京都)駅').time + #property.walkTimeToStation) <= 60
     24 		&& #easiestRoute(#property, '東京駅', '三越前', '大手町(東京都)駅').fare <= 750
     25 		&& #easiestRoute(#property, '東京駅', '三越前', '大手町(東京都)駅').transfer == 0
     26 	)
     27 )
     28 
     29 && !url.startsWith('https://suumo.jp/chukoikkodate/gumma/sc_maebashi')