Search On Website With Python And Requests April 19, 2024 Post a Comment The input from the search field: Solution 1: Two minor corrections and the code works for me: import requests body = {'query':'rune'} # <-- use 'query' not `Search' con = requests.post('http://services.runescape.com/m=itemdb_rs/results#main-search', data=body) print (con.content) # <-- print .content not .text Copy Share You may like these postsEncoding Error, In Python3Python 3.6 Quit() Not Working After Porting To ExeModulenotfounderror After Packaging With Pip"importerror: Dll Load Failed" When Trying To Import Pymssql On Windows Post a Comment for "Search On Website With Python And Requests"
Post a Comment for "Search On Website With Python And Requests"