Parsing Javascript Links

Tony
04/21/2010 03:17 am
Hi Oleg,

I am having trouble with javascript links.

For example on this page:

http://www.goo-net.com/php/search/summary.php?maker_cd=1010&car_cd=10101004&n_body_cd=6,11&baitai=goo&pref_c=01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47

You can see the links to subsequent pages. The html shows:

<li ><a href="Javascript:JumpPage('50');">2</a></li>

<li ><a href="Javascript:JumpPage('100');">3</a></li>

<li ><a href="Javascript:JumpPage('150');">4</a></li>

<li ><a href="Javascript:JumpPage('200');">5</a></li>

<li ><a href="Javascript:JumpPage('250');">6</a></li>
etc etc


I could use 'Alt Ctrl Click' on each link, but there are too many pages to be able to do this and the project needs to be alternated and these pages contents are always changing.

Many thanks,

Tony.
Oleg Chernavin
04/21/2010 03:20 am
Unfortunately, the script changes form contents and submits it. This is not yet supported.

I can only suggest you to use URL Macros:

http://www.goo-net.com/php/search/summary.php
POST=maker_cd=1010&car_cd=10101004&pref_c=01%2C02%2C03%2C04%2C05%2C06%2C07%2C08%2C09%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22%2C23%2C24%2C25%2C26%2C27%2C28%2C29%2C30%2C31%2C32%2C33%2C34%2C35%2C36%2C37%2C38%2C39%2C40%2C41%2C42%2C43%2C44%2C45%2C46%2C47&
car_grade_cd=&price1=&price2=&nen1=&nen2=&distance1=&distance2=&color=&genre=&mission=&nenryo=&baitai=goo&jititai_id=&grade_cd_list=&imp_flg=&net_mitsumori=&wd=&exhaust1=&exhaust2=&goopon=&sub_photo=&new_flag=&up_flag=&katashiki=&goo_car_id=&n_body_cd=6%2C11&dealer_car=&ask_ignore=&area_s_id=&keiro_dealer=&import_route=&welfare=&
search_type=bodytype_disp&shinko=&current=&page=1&next=&priv=&flag=&lang=&button_name=&sort_value=&sort_flag=&photo_flg=&disp_mode=&detail_joken=&page_flag=&client=&b_id=&sub_p2=&door=&haiki=&haiki_list=&buken_cd=&restored=&new_car=&goo_hosho=&loan_monthly1=&loan_monthly2=&loan_deposit1=&loan_deposit2=&zanka_loan=&normal_loan=&pref_c_list=&
goo_raku=&model=&pref_flg=&all_dealer_flg=&n_bid=&offset={:50..1000|50}&total_price_flg=&handle_position=&leatherseat_list=&sunslideroof_list=&keiro_shinpei=&full_equipment=&aircon=&powersteering=&powerwindow=&kanreichisiyou=&navi_tv=&navi=&tv=&roof=&leather=&alumi_wheel=&max_6=&max_7=&max_8=&max_9=&max_10=&three_rows_seat=&slidedoor=&
both_slidedoor=&auto_slidedoor=&bothauto_slidedoor=&walk_through=&bench_seat=&fullflat_seat=&one_owner=&nonsmoke=&kirokubo=&fullaero=&lowdown=&keyless=&md_player=&cd_player=&cassette=&abs=&airbag=&waircon=&autoseat=&antitheft=&non_used=&diesel=&inspect=
&
total_price1=&total_price2=&movie_flg=&long_run_guarantee_flg=&limit_goow=&group_cd=&limit=&brand_car_search_flg=&goow_grp_id=&hybridcar=&campingcar=&shift_position=&hddnavi_tv=&dvdnavi_tv=&hid=&smartkey=&etc=&backmoniter=&esc=&ecocar=&goo_hosyou_plan_flg=&total=3823&search_gooids=on&limit=50&goo_car_ids=&goo_ids=&select_nen1=ANY&
select_nen2=ANY&select_distance1=&select_distance2=&select_price1=&select_price2=&select_grade=&select_pref=&select_jititai_id=&keyword=&radio_handle_position=&select_exhaust1=ANY&select_exhaust2=ANY&select_door=&radio_mission=&radio_wd=&radio_shift_position=&radio_nenryo=

Find the offset=50 after you got the URL with Ctrl+Alt keys and change it to offset={:50..1000|50}

Best regards,
Oleg Chernavin
MP Staff
Tony
04/21/2010 03:44 am
I see Oleg.

Unfortunately it is impossible to this this for so many different categories and as the number of pages per category will be different and always changing doing alt ctrl click with macros does not provide a solution.

When will OE Pro be able to navigate such links? Can OE Enterprise do it? Is there some other software that can do it?

Tony.
Oleg Chernavin
04/21/2010 05:16 am
Yes, I understand. I have some ideas on that but not sure if they would work or not. And they will take time even to try. I will see if I have some spare time to work on this. But I don't promise yet.

Unfortunately, I don't know any software that can download such links. Only perhaps AutoSave mode in Offline Explorer. But this will take a lot of your time as well.

I think that no offline browser implemented such links support yet. But if you will be able to find such software, please let me know. I am very curious about this. Thank you!

Oleg.
Tony
04/22/2010 11:50 am
OK Oleg.

I will have to implement as you say.

There will be a lot of 'dead' files though.

When using minimum file size, does OE Pro download files under the min size, but not load them in the map view, or does it check file size prior to downloading and simply overlook files that are too small and not download them at all?

Many thanks,

Tony.
Oleg Chernavin
04/22/2010 01:20 pm
It receives the information from the server about file size and if it doesn't fit, it aborts the download.

Oleg.