Search On Website With Python And Requests May 25, 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 postsLogin Using Python Requests Doesn't Work For Pythonanywhere.comLoop Url From Dataframe And Download Pdf Files In PythonException For Connectionreseterror: [errno 54] Connection Reset By PeerScrape .aspx Form With Python Post a Comment for "Search On Website With Python And Requests"
Post a Comment for "Search On Website With Python And Requests"