My simple BRG tool

    Hide Wikipost
Old Aug 24, 16, 1:53 am   -   Wikipost
Please read: This is a community-maintained wiki post containing the most important information from this thread. You may edit the Wiki once you have been on FT for 90 days and have made 90 posts.
 
Last edit by: d'Yquem
Wiki Link
Print Wikipost

 
Old Jun 12, 16, 2:06 pm
  #61  
 
Join Date: Feb 2000
Location: Lake Oswego, OR
Programs: UA 1K 2MM, Marriott Platinum-Bonvoyage, Hilton Diamond
Posts: 3,197
Originally Posted by uriel888 View Post
in which page did you get the fetch error? If it is on the search page, a refresh might solve the problem
I receive the error on the search page, just after clicking submit. Refreshing the page triggers the same "Failed to fetch" dialog. My version of chrome is up to date and I've also tried this with a couple of other Chrome alternatives, Chromium and Canary.
LarryU is offline  
Old Jun 12, 16, 4:24 pm
  #62  
 
 
Join Date: Nov 2000
Location: Upcountry Maui, HI
Posts: 12,560
Originally Posted by SgFred View Post
Not working for Bangkok. Read earlier it was fixed?
It was working the other day when I tried it.

Now every property is getting mapping errors when trying to fetch the BRG rates.

Also was curious about the Germany/tax issues, so tried Munich, same thing there as well.

I was wondering if the competitive sites follow that law or not.

Manually I found a BRG for Le Meridien Munich using hotelscombined.com for 7/18 - 7/19. The rate shown at hotelscombined.com did not include the VAT, but the rate at the site they found (booking.com) did, so it increased the rate from USD$193 to $207. Still cheaper than the rate shown on spg.com, which was $258 when converted to USD.

trivago did the same thing that hotelscombined.com did. showed the pretax price. Follow the link to the site where you can book that rate (again, booking.com) and they show the higher price with VAT included.

-David

Last edited by LIH Prem; Jun 12, 16 at 4:32 pm
LIH Prem is online now  
Old Jun 12, 16, 6:24 pm
  #63  
Original Poster
 
Join Date: Jun 2016
Programs: SPG
Posts: 133
Originally Posted by andylogan View Post
Great idea and start to your tool!

Only problem I found was for Dubai, United Arab Emirates

"Failed to fetch" error

Tried many dates, all same error
I just fixed the bug, you can try it now.
uriel888 is offline  
Old Jun 12, 16, 6:26 pm
  #64  
Original Poster
 
Join Date: Jun 2016
Programs: SPG
Posts: 133
Originally Posted by LarryU View Post
I receive the error on the search page, just after clicking submit. Refreshing the page triggers the same "Failed to fetch" dialog. My version of chrome is up to date and I've also tried this with a couple of other Chrome alternatives, Chromium and Canary.
I just fixed one bug that might cause the fetch error, you might try again now. If it still exist can you provide the date and location you were trying to search?
uriel888 is offline  
Old Jun 12, 16, 7:40 pm
  #65  
 
Join Date: Feb 2000
Location: Lake Oswego, OR
Programs: UA 1K 2MM, Marriott Platinum-Bonvoyage, Hilton Diamond
Posts: 3,197
Originally Posted by uriel888 View Post
I just fixed one bug that might cause the fetch error, you might try again now. If it still exist can you provide the date and location you were trying to search?
I just tried it again with the same results -- I attempted a variety of searches including one for Honolulu mentioned earlier in this thread. Obviously, some other users are not encountering the fetch error so perhaps its an issue with my O/S (Windows 8) or some other factor. I would normally test something like this on other browsers but it only loads on Chrome for me. To be fair, my version of Firefox is far from the latest but I'm very conservative when it comes to updates (which sometimes break add-ons) so I'm leaving it as is (I did try it in safe mode though).
LarryU is offline  
Old Jun 12, 16, 10:43 pm
  #66  
 
Join Date: Jan 2015
Location: Toronto, Canada
Programs: SPG Plat, Marriott Plat, Hilton Diamond, United Premier Silver
Posts: 177
Just tried to search for August 16, 2016 in Toronto, Canada.

Getting bunch of errors like

Hotel Name: Sheraton Centre Toronto Hotel
Hotel official Price($/day): 237
BRG Rate($/day): Some error when mapping official hotel name to compete site

Although a few properties did come up with no BRG
-------------------------
nli007 is offline  
Old Jun 12, 16, 11:42 pm
  #67  
Original Poster
 
Join Date: Jun 2016
Programs: SPG
Posts: 133
Originally Posted by BobbySteel View Post
Lots of mapping issues in Dallas. Maybe you can put the mapping file up on Github so others can contribute to the workload?
The dallas problem has been fixed, and I also open sourced my code and the mapping file is located in backend/tools
uriel888 is offline  
Old Jun 12, 16, 11:42 pm
  #68  
Original Poster
 
Join Date: Jun 2016
Programs: SPG
Posts: 133
Originally Posted by nli007 View Post
Just tried to search for August 16, 2016 in Toronto, Canada.

Getting bunch of errors like

Hotel Name: Sheraton Centre Toronto Hotel
Hotel official Price($/day): 237
BRG Rate($/day): Some error when mapping official hotel name to compete site

Although a few properties did come up with no BRG
-------------------------
Fixed mapping issue in toronto
uriel888 is offline  
Old Jun 12, 16, 11:46 pm
  #69  
Original Poster
 
Join Date: Jun 2016
Programs: SPG
Posts: 133
Originally Posted by LarryU View Post
I just tried it again with the same results -- I attempted a variety of searches including one for Honolulu mentioned earlier in this thread. Obviously, some other users are not encountering the fetch error so perhaps its an issue with my O/S (Windows 8) or some other factor. I would normally test something like this on other browsers but it only loads on Chrome for me. To be fair, my version of Firefox is far from the latest but I'm very conservative when it comes to updates (which sometimes break add-ons) so I'm leaving it as is (I did try it in safe mode though).
uhhh. This is weird and I recommend you use the most recent version of chrome and if you still encounter this problem can you please right click the page, then select inspect element and select console and refresh the page then post the error, so that I can keep tracking on the error
uriel888 is offline  
Old Jun 13, 16, 12:42 am
  #70  
 
Join Date: Feb 2000
Location: Lake Oswego, OR
Programs: UA 1K 2MM, Marriott Platinum-Bonvoyage, Hilton Diamond
Posts: 3,197
Originally Posted by uriel888 View Post
uhhh. This is weird and I recommend you use the most recent version of chrome and if you still encounter this problem can you please right click the page, then select inspect element and select console and refresh the page then post the error, so that I can keep tracking on the error

Chrome Version: 51.0.2704.84 m

Console Info:
Code:
Download the React DevTools for a better development experience: https://fb.me/react-devtools
bundle.js:4322 

OPTIONS
bundle.js:28296 

http://52.37.71.194:8889/813355e1b055e800ecafc75fa755d757f357e5739ecf734115c846453e924b7d91698836?checkin=2016-06-28&checkout=2016-06-29&city=Chicago net::ERR_NETWORK_ACCESS_DENIED
LarryU is offline  
Old Jun 13, 16, 1:28 am
  #71  
 
Join Date: May 2014
Posts: 235
Originally Posted by uriel888 View Post
Did you get some error, I do not really know the problem you are facing, because I have only used chrome for my developement.
managed to register using Safari.

Last edited by kodansha999; Jun 13, 16 at 2:35 am
kodansha999 is offline  
Old Jun 13, 16, 2:35 am
  #72  
 
Join Date: Mar 2016
Location: New York
Programs: SPG Plat, Hilton Diamond, 9W Plat, UA Gold, Hyatt Plat, EK Silver, Marriott Plat, IHG Gold
Posts: 102
Just tried searching Mumbai, India. There was a phone type icon rotating with cancel option on screen. but after 1 minute of searching, it prompted failed to fetch.

Using Chrome.
souravsarkar59 is offline  
Old Jun 13, 16, 3:26 am
  #73  
 
Join Date: Apr 2010
Location: BHD or on the way there
Programs: BAEC Gold,HHonours Diamond,SPG Plat,Carlson Gold,Accor Plat,Etihad Gold
Posts: 41
- great idea - thanks for sharing !

just tried searching Athens, Greece dates 15 June to 17 June 2016


Hotel Name: Hotel Grande Bretagne, a Luxury Collection Hotel, Athens
Best Point Usage : Cash & Points With value($/Point) : 0.0183
Hotel official Price($/day): 363
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------
Hotel Name: King George, a Luxury Collection Hotel, Athens
Best Point Usage : Only Points With value($/Point) : 0.0214
Hotel official Price($/day): 343
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------
Hotel Name: Semiramis Hotel, Athens, a Member of Design Hotels
Best Point Usage : Only Points With value($/Point) : 0.0198
Hotel official Price($/day): 198
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------
Hotel Name: Arion, a Luxury Collection Resort & Spa, Astir Palace, Athens
Hotel official Price($/day): 440
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------
Hotel Name: The Westin Athens Astir Palace Beach Resort
Hotel official Price($/day): 343
BRG Rate($/day): 307
Link to the BRG site
-------------------------
Hotel Name: Periscope, Athens, a Member of Design Hotels
Hotel official Price($/day):
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------
Hotel Name: New Hotel, Athens, a Member of Design Hotels
Hotel official Price($/day):
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------
Hotel Name: Fresh Hotel, Athens, a Member of Design Hotels
Hotel official Price($/day):
BRG Rate($/day): Some error when mapping official hotel name to compete site

Last edited by craigs1973; Jun 13, 16 at 3:33 am
craigs1973 is offline  
Old Jun 13, 16, 3:12 pm
  #74  
 
Join Date: Mar 2008
Posts: 230
Originally Posted by uriel888 View Post
I just fixed the bug, you can try it now.
Thanks!

Dubai worked!

Oh - now I see some hotels have a mapping issue:


Hotel Name: Four Points by Sheraton Sheikh Zayed Road, Dubai
Best Point Usage : Only Points With value($/Point) : 0.0151
Hotel official Price($/day): 151
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------


Hotel Name: Le Meridien Fairway
Best Point Usage : Only Points With value($/Point) : 0.0156
Hotel official Price($/day): 109
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------
Hotel Name: The St. Regis Dubai
Best Point Usage : Only Points With value($/Point) : 0.0103
Hotel official Price($/day): 309
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------
Hotel Name: The Westin Dubai Al Habtoor City - Opening July 1, 2016
Best Point Usage : Only Points With value($/Point) : 0.0173
Hotel official Price($/day): 207
BRG Rate($/day): Some error when mapping official hotel name to compete site
-------------------------
Hotel Name: W Dubai Al Habtoor City - Opening June 15, 2016
Best Point Usage : Only Points With value($/Point) : 0.0141
Hotel official Price($/day): 283
BRG Rate($/day): Some error when mapping official hotel name to compete site
--------------------------
andylogan is offline  
Old Jun 14, 16, 1:04 am
  #75  
 
Join Date: May 2015
Location: KCH
Programs: Trying my best to love Le Club Accor (Gold)
Posts: 129
Originally Posted by uriel888 View Post
Can u tell me which city are u trying to search?
Hotels with mapping error in KUL

Sheraton Imperial Kuala Lumpur Hotel
The St. Regis Kuala Lumpur
The Westin Kuala Lumpur

Rest of Malaysia all OK
Ver Jaina is offline  

Thread Tools
Search this Thread
Search Engine: