タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

amazonに関するykrishnasのブックマーク (2)

  • [を] アマゾンの URL から ASIN を取得

    アマゾンの URL から ASIN を取得 2006-09-06-1 [Programming][Affiliate] tsupo さんのブログ記事、 「[観] アマゾンの URL から ASIN を取得する関数 getASIN()」 http://watcher.moe-nifty.com/memo/2006/09/_url_asin_getas_1a25.html を読んで、 URL に amazon.co.jp が含まれているなら、 /[B0-9][A-Z0-9]{9} みたいな単純なパターンにマッチさせるだけでも十分かな、と思いました。 (とはいえ、たぶん用途上、そう単純にできないのかも?) amazon 以外の URL に含まれる ASIN にマッチさせる場合は、 こんな正規表現でどうかなあ。前後にちょっと足しました。 [/=?&]([B0-9][A-Z0-9

  • Abusing Amazon images

    by Nat Gertler Created May 21, 2005. Last updated January 10, 2014. Thanks to Aryeh Leib Taurog for the hover code. Amazon.com feeds out a lot of product images, putting out the same book cover (say) in a variety of sizes and formats. By experimentation, I found that they don't actually have all the sizes and formats stored. Instead, they have a system that generates each requested image. The deta

    ykrishnas
    ykrishnas 2005/05/26
    Amazonの商品画像のURI
  • 1