Get results of keyword search on Pfam via python script
If I understand your question correctly, then you can use the Pfam proteom search to get the data you are looking for.

Go to the 


  Pfam website -> Browse -> select the letter D from proteoms category
  -> D. rerio


There you can find a download link under the section Domain composition: 


  You can download a list of all regions for this proteome from our FTP
  site.


The download link seems to be bound to the species ID and if you want to automate your data retrieval you may be able to simply download the file from there in your python script.