I am writing this code to web scrape but I am continuously getting this error invalid syntax on the line "print(post)".
import urllib.request
from bs4 import BeautifulSoup as b
url_base="https://www.ebay.com/sch/i.html?_from=R40&_nkw="
requests="ps4"
url_separator="&_sacat=0&_pgn="
page_num="1"
url=url_base + requests + url_separator + page_num
html= urllib.request.urlopen(url).read()
soup = b(html,'html.parser')
for post in soup.find_All("li",{"class":"s-item"}):
print(post)
I am using python 3.4.4. Your help would be very much appreciated.