I recently wrote and released a python module to allow fetching of profile data.
You can install it using pip:
pip install beautifulsoup4 phpbb-parser
Here’s how you import and use a profile:
profile.signature is a beautifulsoup4 object.
Next: Linking a user account to an external phpBB forum.