Line 1: Import the website HTML as an XMLObject
xml = Import["https://www.atptour.com/en/players/andrey-rublev/re44/rankings-history",
{"HTML", "XMLObject"}]
Line 2: Process the XML and store it in variables named "singles" and "doubles"
{singles,doubles}=Cases[xml,XMLElement["tr",{},{XMLElement["td",_,{date_String}],XMLElement["td",_,{singles_String}],XMLElement["td",_,{doubles_String}]}]:><|"date"->DateObject@date,"singles"->ToExpression@singles,"doubles"->ToExpression@doubles|>,Infinity]//
{Query[All,{"date","singles"}][#],Query[All,{"date","doubles"}][#]}&
Line 3: Plot
DateListPlot[Values /@ {singles, doubles}, PlotLegends -> {"singles", "doubles"}]
