Hi guys,
I'm hoping you can help me out quickly. I was walking into my house when a little guy jumped on my patio and I picked him up to move him out of reach of my dog. However, when I picked him up he tried jumping and I noticed this black thing on this leg and that he was barley using it. I thought it was some sort of injury but after closer examination I noticed it was some sort of beetle. I think the beetle is living off the poor frog and I would love to get rid of the pest for him. Any suggestions on a safe way to remove whatever it is?
Here is a picture of him and the beetle:

Thank you guys!