How to automate the code to fetch data based on 2 filter conditions in python

visit shbcf.ru