amazon

Amazon Login with Webrequest

荒凉一梦 提交于 2019-12-24 07:19:48
问题 So I'm in the process of making a personal program for myself (I've made a thread on it before) in which I make an Amazon recent items checker where I can just pull all my purchases and populate them in a listview on the form. up to this point I've been using a webbrowser, but that method is taking way to long. So I figured I would have a go with webrequests and try it that way, I've been trying and trying but I can't replicate the POST request to login to http://Amazon.com. Here's my code:

Amazon Login Phantom JS

偶尔善良 提交于 2019-12-24 06:01:48
问题 I’m pretty new at PhantomJS and programming in general, so please bear with me. I’m trying to write a code to login to my Amazon account, and add shipping addresses to my address book. The code I’m using is here: var steps=[]; var loadInProgress = false;//This is set to true when a page is still loading /*********SETTINGS*********************/ var webPage = require('webpage'); var page = webPage.create(); page.settings.userAgent = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36

How to “click” on certain proposal from autosuggestion on Amazon using Selenium?

爱⌒轻易说出口 提交于 2019-12-24 03:47:17
问题 I am trying to automate auto complete suggestions on amazon.com. But unlike google search options, xpath of suggestions is always changing. The code I posted doesn't work every time because sometimes the xpath/id/cssselector of the desired suggestion is changing (@id=\"issDiv8\"] sometimes it is "issDiv4" or "issDiv6" and so on. WebElement searchTextField = driver.findElement(By.id("twotabsearchtextbox")); searchTextField.sendKeys("turbo"); WebDriverWait wait = new WebDriverWait(driver, 20);

How to use scrapy for Amazon.com links after “Next” Button?

不问归期 提交于 2019-12-24 02:23:53
问题 I am relatively new to Python and Scrapy. I'm trying to scrap the links in "Customers who bought this item also bought". For example: http://www.amazon.com/Confessions-Economic-Hit-John-Perkins-ebook/dp/B001AFF266/. There are 17 pages for "Customers who bought this item also bought". If I ask scrapy to scrap that url, it only scraps the first page (6 items). How do I ask scrapy to press the "Next Button" to scrap all the items in the 17 pages? A sample code (just the part that matters in the

“Order cannot be fulfilled” error after updating order status in Amazon MWS

柔情痞子 提交于 2019-12-24 00:48:31
问题 Hello I have listed all the order available in my orders by using Orders API, Now i wanted to update the order status as Shipped by using the Feed API,In amazon Scratchpad I used Feed API to Update the status of the Product and it is successfully submitted and then by using Feed-ID i checked the status of the submitted feed there is no Error in the status but except there is a Warning called this. Order cannot be fulfilled. For more information, please contact Seller Support And the order

How up-to-date are Amazon MWS reports?

[亡魂溺海] 提交于 2019-12-24 00:45:45
问题 I have the following problem: I updated my products via Amazon's MWS API (using PHP - _POST_PRODUCT_DATA_ and _POST_INVENTORY_AVAILABILITY_DATA_). I deleted one product and updated the available quantity for another product. After both feeds have been processed (wihtout errors) I requested a report of all my listings (_GET_MERCHANT_LISTINGS_ALL_DATA_). This report did not contain any of the changes I made. After about an hour, the quantity change showed up in another report, the deleted

Excluding prefix in ObjectListing results Java client for S3

老子叫甜甜 提交于 2019-12-23 10:56:05
问题 I have a S3 bucket with following hierarchy: bucketName folder1 file1 I wanted to get all the files from folder1. I tried to do following: ObjectListing ol = s3Client.listObjects("bucketName", "folder1"); List<S3ObjectSummary> summaries = ol.getObjectSummaries(); The problem is that summaries contains folder1/ and folder1/file1 . Where as I was hoping to get just folder1/file1 . Looking around at the internet, I also tried following: ListObjectsRequest req = new ListObjectsRequest()

Spark broadcasted variable returns NullPointerException when run in Amazon EMR cluster

喜你入骨 提交于 2019-12-23 08:06:13
问题 The variables I share via broadcast are null in the cluster. My application is quite complex, but I have written this small example that works flawlessly when I run it locally, but it fails in the cluster: package com.gonzalopezzi.bigdata.bicing import org.apache.spark.broadcast.Broadcast import org.apache.spark.rdd.RDD import org.apache.spark.{SparkContext, SparkConf} object PruebaBroadcast2 extends App { val conf = new SparkConf().setAppName("PruebaBroadcast2") val sc = new SparkContext

Spark broadcasted variable returns NullPointerException when run in Amazon EMR cluster

流过昼夜 提交于 2019-12-23 08:06:05
问题 The variables I share via broadcast are null in the cluster. My application is quite complex, but I have written this small example that works flawlessly when I run it locally, but it fails in the cluster: package com.gonzalopezzi.bigdata.bicing import org.apache.spark.broadcast.Broadcast import org.apache.spark.rdd.RDD import org.apache.spark.{SparkContext, SparkConf} object PruebaBroadcast2 extends App { val conf = new SparkConf().setAppName("PruebaBroadcast2") val sc = new SparkContext

How to keep an alexa skill open?

心不动则不痛 提交于 2019-12-23 07:40:47
问题 I have created a skill so that people can keep track of some state. But instead of asking alexa everytime to open the app and interact. alexa ask grocerylist to add 2 eggs alexa ask grocerylist to add bread I would want to keep the grocerylist skill open so that users can interact with it until they ask it to close alexa open grocerylist .... 2 mins later add 2 eggs .... 1 min later add bread Is there a way to do this without having to use alexa ask grocerylist every time. 回答1: This is not