added notes about data collection plan

This commit is contained in:
spbeach46 2020-08-24 11:25:22 -07:00
parent b9f06c0dfe
commit d675c05a42

View File

@ -1,16 +1,18 @@
import requests
import json
from bs4 import BeautifulSoup as b
import pandas as p
# keywords = input('keyword search: ')
with open('cat_list.txt') as jf:
cat_list = json.load(jf)
finding_service = ['findItemsByCategory', 'getHistograms']
departments = ["3034","93427"]
# keywords = input('keyword search: ')
finding_service = ['findItemsAdvanced', 'findCompletedItems', 'findItemsByKeywords', 'findItemsIneBayStores', 'findItemsByCategory', 'findItemsByProduct'] # list(set(re.findall(r'find\w+', response.text)))
# departments = ["3034","93427"]
for categoryID in cat_list:
params = {
"OPERATION-NAME":finding_service[0],
"OPERATION-NAME":finding_service[4],
"SECURITY-APPNAME":"scottbea-xlister-PRD-6796e0ff6-14862949",
"SERVICE-VERSION":"1.13.0",
"RESPONSE-DATA-FORMAT":"JSON",