Oil edged up slightly on Friday even as the Covid-19 crisis in India worsened, and prices notched a second weekly gain against the backdrop of optimism over a global economic recovery.