Your mower has a different model number than you posted. It will look like this: 917.388130
I will cite that model number as a reference.
The symptom your describing is usually related to carbration issues. I have seen the low oil level sensor cause the same problem. Only suspect the oil level sensor if you DO NOT have spark when the engine is hot.
This mower has a Briggs and stratton 126T02 series engine on it. I do not have the rest of the engine model number that would be on YOUR engine near the spark plug on the air shroud.
I am using this parts list as a reference only:
http://www.searspartsdirect.com/partsdirect/part-model/BRIGGS-STRATTON-Parts/All-Products-Parts/Model-126T020295B1/1245/1503500/P0906026/00003?blt=06&prst=&shdMod=
This is a typical carb.
http://c.searspartsdirect.com/lis_png/PLDM/P0906026-00003.png
The items that need to be removed for cleaning are in the boxes 975 and 117.
Additionally Fuel should flow from the float needle area (Item 134) at a rate that would fill up a spray paint can lid in around 10 seconds. If you do not have this kind of flow rate you need to inspect the fuel tank port and the float needle area for debris. Use carb cleaner in the bowl nut area to clean the main fuel jet orfice. Also make sure the carb is firmly secured to the engine block. If anything is loose it willnot draft fuel properly.
Once you get everything cleaned up it should work normally again.
Thanks for choosing FixYa,
Kelly