Update parser.py

Simplification of the web requests (thanks to @Chirs911)