[リストへもどる]
一括表示
タイトル暫定対応その2
記事No7530
投稿日: 2023/02/14(Tue) 02:02
投稿者ス〜
まだ問題があるかのしれませんが、とりあえず
いつものように、自己責任でお願いします。
修正量、やや多めです。
行番号は、過去の修正分が反映されていると
若干ずれているかもしれませんので、修正前の内容で調整してください。

------------------------------
○修正前1 29行目付近
Version=20XX.XX.XX.0;

●修正後1
Version=2023.2.14.0;
------------------------------
○修正前2 545行〜551行目付近
[KWD_LST:ITEMLST src=ITEMAREA, global, ignorecase]
<li\s+class="Product">\s*<div\s+class="Product__image">
((?:(?!<div\s+class="Product__detail">).)*?)<div class="Product__detail"> (?# [1]商品情報1)
((?:(?!<div\s+class="Product__sellerArea">).)*?)<div class="Product__sellerArea"> (?# [2]商品情報2)
((?:(?!<div\s+class="Product__priceInfo">).)*?)<div class="Product__priceInfo"> (?# [3]出品者情報)
((?:(?!<div\s+class="Product__otherInfo cf">).)*?)<div class="Product__otherInfo cf"> (?# [4]価格情報)
((?:(?!<li\s+class="Product">).)*?)</li> (?# [5]その他情報)

●修正後2
[KWD_LST:ITEMLST src=ITEMAREA, global, ignorecase]
<li\s+class="Product">\s*<div\s+class="Product__image">
((?:(?!<div\s+class="Product__detail">).)*?)<div class="Product__detail"> (?# [1]商品情報1)
((?:(?!<div\s+class="Product__priceInfo">).)*?)<div class="Product__priceInfo"> (?# [2]出品者情報)
((?:(?!<div\s+class="Product__otherInfo">).)*?)<div class="Product__otherInfo"> (?# [3]価格情報)
((?:(?!<div\s+class="Product__sellerArea">).)*?)<div class="Product__sellerArea"> (?# [4]商品情報2)
((?:(?!<li\s+class="Product">).)*?)</li> (?# [5]その他情報)
------------------------------
○修正前3 572行〜598行目付近
slid(#)= iif( CLASSNAME!="SEL_LST", match(ITEMLST(#,4),' data-auction-sellerid="((?@USERID))"'), SELLER(2) );// 出品者ID
slurl(#)= iif( CLASSNAME!="SEL_LST", match(ITEMLST(#,3),' href="([^"]+/' & slid(#) & ')"' ), SELLER(1) );// 出品者URL
catid(#) = match(ITEMLST(#,1),' data-auction-category="(\d+)"'); // カテゴリID
price(#)= match(ITEMLST(#,1),' data-auction-price="(\d+)'); // 現在価格
buyprice(#)= parseint( match(ITEMLST(#,4),'<span class="Product__label">即決</span><span class="Product__priceValue">(?@PRICE)</span>') );
// 即決価格
[]buyprice(#)= match(ITEMLST(#,4),' data-auction-buynowprice="(\d+)'); // 即決価格(税抜き)

ship_locs(#) = match(ITEMLST(#,3),'<span[^>]*>([^<]+)から発送</span>');// 発送地域簡易版

bids_txt(#)= match(ITEMLST(#,5),'<a\s+class="Product__bid\s+[^>]+>\s*([,0-9]+)\s*</a>'); // 入札数文字列
bids(#)= parseint(bids_txt(#));// 入札数(空は0とする)
lefttime_txt(#)= match(ITEMLST(#,5),'<span\s+class="Product__time[^>]+>([^<]+)<');// 残り時間文字列
lefttime_sec(#) = parseint(match(lefttime_txt(#),'(\d+)日' ))*86400 +// 秒単位残り時間
parseint(match(lefttime_txt(#),'(\d+)時間'))*3600 +
parseint(match(lefttime_txt(#),'(\d+)分' ))*60 +
parseint(match(lefttime_txt(#),'(\d+)秒' ));

sttime_unix(#)= match(ITEMLST(#,2),'stm=(\d+)'); // 開始時刻(UNIX形式,日本時間)
cltime_unix(#)= match(ITEMLST(#,4),' data-auction-endtime="(\d+)'); // 終了時刻(UNIX形式,日本時間)

icn_buynow(#)= iif( buyprice(#) > 0 , 1, 0 ); // 即決アイコン
icn_premium(#)= test(ITEMLST(#,3),'class="Product__icon\s+Product__icon--(?:best)?store"');// ストアアイコン
icn_new(#)= test(ITEMLST(#,1),'class="Product__icon\s+Product__icon--new"'); // 新着アイコン
icn_att(#)= test(ITEMLST(#,2),'class="Product__icon\s+Product__icon--unused"'); // 新品アイコン
icn_psf(#)= test(ITEMLST(#,2),'class="Product__icon\s+Product__icon--freeShipping"');// 送料無料アイコン
icn_img(#)= iif( !empty(tumburl(#))&&tumburl(#)!="-", "1", iif( !empty(imgurl(#)), "0", "" ) );// 画像有無アイコン

●修正後3
slid(#)= iif( CLASSNAME!="SEL_LST", match(ITEMLST(#,3),' data-auction-sellerid="((?@USERID))"'), SELLER(2) );// 出品者ID
slurl(#)= iif( CLASSNAME!="SEL_LST", match(ITEMLST(#,2),' href="([^"]+/' & slid(#) & ')"' ), SELLER(1) );// 出品者URL
catid(#) = match(ITEMLST(#,1),' data-auction-category="(\d+)"'); // カテゴリID
price(#)= match(ITEMLST(#,1),' data-auction-price="(\d+)'); // 現在価格
buyprice(#)= parseint( match(ITEMLST(#,3),'<span class="Product__label">即決</span><span class="Product__priceValue">(?@PRICE)</span>') );
// 即決価格
[]buyprice(#)= match(ITEMLST(#,3),' data-auction-buynowprice="(\d+)'); // 即決価格(税抜き)

ship_locs(#) = match(ITEMLST(#,2),'<span[^>]*>([^<]+)から発送</span>');// 発送地域簡易版

bids_txt(#)= match(ITEMLST(#,4),'<a\s+class="Product__bid\s+[^>]+>\s*([,0-9]+)\s*</a>'); // 入札数文字列
bids(#)= parseint(bids_txt(#));// 入札数(空は0とする)
lefttime_txt(#)= match(ITEMLST(#,4),'<span\s+class="Product__time[^>]+>([^<]+)<');// 残り時間文字列
lefttime_sec(#) = parseint(match(lefttime_txt(#),'(\d+)日' ))*86400 +// 秒単位残り時間
parseint(match(lefttime_txt(#),'(\d+)時間'))*3600 +
parseint(match(lefttime_txt(#),'(\d+)分' ))*60 +
parseint(match(lefttime_txt(#),'(\d+)秒' ));

sttime_unix(#)= match(ITEMLST(#,4),'stm=(\d+)'); // 開始時刻(UNIX形式,日本時間)
cltime_unix(#)= match(ITEMLST(#,3),' data-auction-endtime="(\d+)'); // 終了時刻(UNIX形式,日本時間)

icn_buynow(#)= iif( buyprice(#) > 0 , 1, 0 ); // 即決アイコン
icn_premium(#)= test(ITEMLST(#,2),'class="Product__icon\s+Product__icon--(?:best)?store"');// ストアアイコン
icn_new(#)= test(ITEMLST(#,1),'class="Product__icon\s+Product__icon--new"'); // 新着アイコン
icn_att(#)= test(ITEMLST(#,4),'class="Product__icon\s+Product__icon--unused"'); // 新品アイコン
icn_psf(#)= test(ITEMLST(#,4),'class="Product__icon\s+Product__icon--freeShipping"');// 送料無料アイコン
icn_img(#)= iif( !empty(tumburl(#))&&tumburl(#)!="-", "1", iif( !empty(imgurl(#)), "0", "" ) );// 画像有無アイコン

タイトルRe: 暫定対応その2
記事No7531
投稿日: 2023/02/14(Tue) 06:33
投稿者りょう
ありがとうございます!
検索できるようになりました。

タイトルRe: 暫定対応その2
記事No7532
投稿日: 2023/02/14(Tue) 10:16
投稿者ABC
ありがとうございます。
エラー出現せず、以前と同様検索できるようになりました。
引き続き確認させていただきます。

タイトルRe: 暫定対応その2
記事No7533
投稿日: 2023/02/14(Tue) 11:23
投稿者ななし
AuctionExplorer!!にはYJ_REXPTN2.TXTがないと思うのですが、みなさんどこを直していらっしゃるのでしょうか…?

タイトルRe: 暫定対応その2
記事No7534
投稿日: 2023/02/14(Tue) 12:58
投稿者らんのすけ
YJ_REXPTN2.txtはAE!(AE!!ではない方)にあることは認識できているのですが、記載頂いたものが検索しても見つからない状況でした。

21年9月に最終更新したYJ_REXPTN2.txtで一応検索などはできていたのですが、皆様が現在お使いのYJ_REXPTN2.txtは21年9月以降更新されたものを使用されていましたでしょうか。

タイトルRe^2: 暫定対応その2
記事No7535
投稿日: 2023/02/14(Tue) 13:22
投稿者りょう
YJ_REXPTN2.txtの入手方法と変更の反映方法ですが

■YJ_REXPTN2.txtの書出し
[ヘルプ]>
[バージョン情報]>
YJ_SP.dllを選択>[プラグイン情報]>
[解析パターン設定]>[解析パターンをファイルに書き出す]
でYJ_REXPTN2.TXTが書き出されます。

■YJ_REXPTN2.txtの変更の反映
YJ_REXPTN2.txtに変更を加えると次回起動時に反映されます。

タイトルRe^3: 暫定対応その2
記事No7536
投稿日: 2023/02/14(Tue) 13:38
投稿者らんのすけ
早速のご教示ありがとうございました。
AE!!の方でYJ_REXPTN2.txtが作成できましたので
記載されている箇所を変更しようと思います。

タイトルHarry Roper-Curzon
記事No7537
投稿日: 2023/02/14(Tue) 16:16
投稿者Harry Roper Curzon   <harryropercurzon.uk@gmail.com>
参照先https://twitter.com/harry_curzon
Harry Roper-Curzon is an experienced director with a background in the construction industry. Negotiation, budgeting, construction, joinery, proposal writing, and management are all skills he possesses. Have raised funds for charitable causes. Harry Roper-Curzon enjoys travelling and learning about different cultures and also have interest in architecture and history. Harry Roper-Curzon also like to develop affordable, sustainable housing for those on low incomes.

タイトルRe: 暫定対応その2
記事No7539
投稿日: 2023/02/14(Tue) 17:34
投稿者らんのすけ
AE!!で検索ができるようになりました。
なぜ変更箇所がわかるのか素人の私にはまったくわかりませんが
大変助かります。
ウォッチリスト終了分が0件になりますがあまり影響もないので
いったんこのまま使おうと思います。
ありがとうございました。

タイトルRe: 暫定対応その2
記事No7540
投稿日: 2023/02/14(Tue) 17:56
投稿者Butamin
検索できるようになりました。
ありがとうございました┌○ペコッ

タイトルス〜さん、グッジョブ!
記事No7541
投稿日: 2023/02/14(Tue) 19:33
投稿者AEファン
訳もわからず書き換えましたがうまく検索できるようになりました。
どうもありがとうございました。

タイトルRe: 暫定対応その2
記事No7543
投稿日: 2023/02/14(Tue) 21:47
投稿者AEユーザー
ご対応ありがとうございます。
AE2でうまく検索できるようになりました。
YJ_REXPTN2.txtの入手方法と変更の反映方法の解説も、大変参考になりました。

タイトルRe: 暫定対応その2
記事No7544
投稿日: 2023/02/14(Tue) 21:50
投稿者ロック
ス〜さん、ありがとうございます!
無事検索できるようになりました!

タイトルRe: 暫定対応その2
記事No7547
投稿日: 2023/02/15(Wed) 16:00
投稿者いえろー
この対策で検索できるようになりました。
スー様、ありがとうございました!!!

タイトルRe: 暫定対応その2
記事No7570
投稿日: 2023/02/20(Mon) 12:07
投稿者doggyman1230
おかげさまでまた検索できるようになりました。
どうもありがとうございました。