Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from ebaysdk.finding import Connection as finding
- from bs4 import BeautifulSoup
- Keywords = input("enter keywords")
- api = finding(appid='APP ID', config_file=None)
- api_request = { 'keywords': Keywords, 'outputSelector': 'SellerInfo' }
- response = api.execute('findItemsByKeywords', api_request)
- soup=BeautifulSoup(response.content, 'lxml')
- totalentries = int(soup.find('totalentries').text)
- items= soup.find_all('item')
Advertisement
Add Comment
Please, Sign In to add comment