Skip to content Skip to sidebar Skip to footer

How To Pass Search Key And Get Result Through Bs4

def get_main_page_url('https://malwr.com/analysis/search/', strDestPath, strMD5): base_url = 'https://malwr.com/' url = 'https://malwr.com/account/login/' username =

Solution 1:

You've done almost everything correctly. Except that you need to pass the result of the POST request to BeautifulSoup. Replace:

session.post(urlparameter, data = data)
response = session.get(urlparameter)

with:

response = session.post(urlparameter, data=data)

Worked for me (I had an account at malwr).

Post a Comment for "How To Pass Search Key And Get Result Through Bs4"