Taskmaster copies his opponents moves. after watching them in combat due to his photo reflective memory, and it's not something that scales to peter's skill at all. peter didn't beat him by pure skill be beat him cause he is much stronger than taskmaster, who was not trying to kill peter mind you but only testing to see if he was worthy to be hired by a company, also spider-sense isnt an instant never hit me card. there are multiple times where peter is taken off guard, overpowered, overwhelmed, and outskilled by opponents, look at silver sable who had caught him off guard with her traps, or even the interactions with taskmaster which start with peter being taken by suprise and wrapped up, even in the trailer for spider-man two he is once again taken off guard. its not like just having spider-sense makes him unouchable, it just helps him sense danger and dodge better, even electro has landed hits on him. also raiden and electro both have electicity but raiden is far more versitile than electro is such as teleportation, healing, setting lightning traps, and so much more. they also have the lifting advantage meaning webs wont hold them for long if even at all considering both can teleport or just blast them off.