amazon

Amazon web scraping

淺唱寂寞╮ 提交于 2019-12-05 07:03:34
问题 I'm trying to scrape Amazon prices with phantomjs and python. I want to parse it with beautiful soup, to get the new and used prices for books, the problem is: when I pass the source of the request I do with phantomjs the prices are just 0,00, the code is this simple test. I'm new in web scraping but I don't understand if is amazon who have measures to avoid scraping prices or I'm doing it wrong because I was trying with other more simple pages and I can get the data I want. PD I'm in a

Major Retailer Gift Card APIs

强颜欢笑 提交于 2019-12-05 06:49:40
I was looking for which major retailers had gift card APIs. For example Amazon has the Corporate Gift Card Program: http://www.amazon.com/gp/browse.html?node=165034011 where you can either buy a bulk amount of gift codes and then they can send you a CSV file that can be imported into a DB, or (if you spend enough) they have an API for gift codes on demand. I was wondering if anyone can verify/deny if services exist for places like: iTunes Best Buy Barnes and Noble Starbucks Home Depot Target Visa United Artists Or is there a site/service that has a consolidated API for working with 3rd party

Fetching Amazon buyback (“trade-in”) price

心已入冬 提交于 2019-12-05 04:07:15
问题 Is there a way to get the Amazon buyback (aka "trade-in") prices for textbooks through an API? I've searched around for a while but can't find a clue how people are getting this for their websites.. Here is the Amazon BuyBack program: amazon.com/buyback Here is an example buyback URL: http://www.amazon.com/gp/search/s/ref=tradeinavs?url=rh%3Dn%3A2205237011%26i%3Dtextbooks-tradein&field-keywords=978-0321614018&Go.x=10&Go.y=17 I'm aware that I could just fetch the pages and parse the HTML, but

SignatureDoesNotMatch - Amazon S3 API

本秂侑毒 提交于 2019-12-05 03:02:58
I am using a PHP class for Amazon S3 and CloudFront - Link . But when I try to upload a file into a bucket, I get this error: [SignatureDoesNotMatch] The request signature we calculated does not match the signature you provided. Check your key and signing method. How to fix it? Thanks. When you sign up for Amazon, you can create yourself a key pair (Amazon calls those access key ID and secret access key). Those two are used to sign requests to Amazon's webservices. Amazon re-calculates the signature and compares if it matches the one that was contained in your request. That way the secret

Create Link with Amazon ASIN Number to link the right country (e.g. amazon.com, .co.uk, .jp) by usersettings?

陌路散爱 提交于 2019-12-05 02:24:16
问题 I have a database and want to link amazon products with their asin . For example B005UEF678 for iPhone 4S, would be amazon.com/dp/B005UEF678 in the US, but amazon.de/dp/B005UEF678 in germany. Actually I don't know which URL is the right, since the user could be from any country? How would you solve this problem? API? Switch Case in Userlanguage? thank you byt he way I use PHP. 回答1: there is a servie for ASIN Short URLs called asin.info. You can easily generate your URLs by Amazonlink or with

Download a application from AWS Elastic Beanstalk

拥有回忆 提交于 2019-12-05 01:34:36
How can I download a application from Elastic Beanstalk? I uploaded the application via the web interface, and made some changes live (It's a wordpress site), and now I want to download the whole site. Thanks. You can download the site from within Application Versions Table (Source Column) in AWS Console. Log into AWS Console Navigate to Services-> Beanstalk -> Application Versions Alternatively you can also scp the file from the EC2 instance tied to your beanstalk application. Using the CLI EB client you can run from your application's local directory: eb labs download It will download the

Access Denied upload to s3

泄露秘密 提交于 2019-12-05 01:24:52
I tried uploading to s3 and when I see the logs from the s3 bucket logs this is what it says: mybucket-me [17/Oct/2013:08:18:57 +0000] 120.28.112.39 arn:aws:sts::778671367984:federated-user/dean@player.com BB3AA9C408C0D26F REST.POST.BUCKET avatars/dean%2540player.com/4.png "POST / HTTP/1.1" 403 AccessDenied 231 - 132 - "http://localhost:8080/ajaxupload/test.html" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17" - I got an access denied. From where it's pointing I think the only thing that I'm missing out is adding of bucket policy. So

Boto s3 get_metadata

无人久伴 提交于 2019-12-05 01:08:55
Trying to get meta_data that i have set on all my items in an s3 bucket. Which can be seen in the screenshot and below is the code I'm using. The two get_metadata calls return None. Any idea's boto.Version '2.5.2' amazon_connection = S3Connection(ec2_key, ec2_secret) bucket = amazon_connection.get_bucket('test') for key in bucket.list(): print " Key %s " % (key) print key.get_metadata("company") print key.get_metadata("x-amz-meta-company") bucket.list() does not return metadata. try this instead: for key in bucket.list(): akey = bucket.get_key(key.name) print akey.get_metadata("company") 来源:

How to deal with the amazon ec2's clock drift?

天大地大妈咪最大 提交于 2019-12-05 01:01:30
We have a couple of ec2 instances on amazon, and we used amazon AIM Linux to set up. The instance type is m1.medium. Everything is going well until this week. We found from log file that there would be a huge clock drift happened suddenly, and sometimes there has a 5-minutes discrepancy。 I would like to ask if anyone else encounter this problem? How to deal with it? Time drift can occur due to over utilization of your instances resources. I would encourage you to check you cloudwatch CPU graphs to try identify if your CPU was being over utilized. If you are running amazon linux AMI, NTP is

Amazon Book API for Python or Ruby? [duplicate]

血红的双手。 提交于 2019-12-05 00:24:25
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Amazon API library for Python? I'm looking for an Amazon API that will allow me to: Find books by title or author Show book covers Get information about each book (price, rating, number of reviews, format, number of pages, etc.) Either a Python or Ruby library would be fine (I just want the library that's easiest to use). Any suggestions? I know there are some other posts about this on SO, but it seems like