andrewnjoo / tern

https://tern.up.railway.app/
0 stars 0 forks source link

scrape sites overview #3

Open adnjoo opened 1 month ago

adnjoo commented 1 month ago

https://www.irvinecompanyapartments.com/locations/northern-california

adnjoo commented 1 month ago

https://www.avaloncommunities.com/northern-california/

<div
  class="community-card-info text-default d-flex justify-content-between position-relative overflow-hidden flex-column"
>
  <div class="false">
    <div
      class="font-21 font-weight-bold text-truncate line-height-24 community-card-name"
    >
      <a
        href="/california/san-francisco-apartments/ava-55-ninth"
        target="_blank"
        rel="noreferrer "
        class="community-card-link"
        >AVA 55 Ninth</a
      >
    </div>
    <div class="font-weight-light font-14 line-height-16 d-none d-block-md">
      55 Ninth Street • San Francisco, CA 94103
    </div>
  </div>
  <div class="false">
    <div class="font-20 line-height-24">16 apartments available</div>
    <div class="community-card-furnished mt-1 d-flex">
      <span class="ant-typography furnished-badge"
        >Furnished Available
        <div
          class="info-popover"
          data-layer-action="click"
          data-layer-type="searchCommunities"
          data-ea-cta-link="furnished-info"
          role="button"
          tabindex="0"
        >
          <svg
            viewBox="0 0 32 32"
            class="alep-icon undefined"
            focusable="false"
            id="furnished-available-special"
            tabindex="0"
          >
            <path
              d="M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zM15.906 5.766c0.624 0 1.126 0.502 1.126 1.125 0 0.621-0.504 1.125-1.126 1.125-0.621 0-1.125-0.504-1.125-1.125 0-0.622 0.504-1.125 1.125-1.125zM20.818 23.174c0 0.622-0.502 1.126-1.123 1.126h-7.576c-0.621 0-1.125-0.504-1.125-1.126 0-0.621 0.504-1.125 1.125-1.125h2.662v-9.816h-1.875c-0.621 0-1.125-0.502-1.125-1.125 0-0.621 0.504-1.125 1.125-1.125h3c0.624 0 1.126 0.504 1.126 1.125v10.941h2.662c0.621 0 1.125 0.504 1.125 1.125z"
            ></path>
          </svg></div
      ></span>
    </div>
  </div>
  <div class="community-card-starting-at-wrapper">
    <div class="font-11 text-shade-7 line-height-14">Starting at</div>
    <div class="font-30 font-weight-bold community-card-starting-at">
      $2,405
    </div>
    <div
      class="font-14 text-capitalize d-none d-block-md community-card-prices"
    >
      <span
        ><span class="font-weight-light text-uppercase">studio</span>:
        $2,405</span
      ><span>
        • <span class="font-weight-light text-uppercase">1 bedroom</span>:
        $2,820</span
      ><span>
        • <span class="font-weight-light text-uppercase">2 bedroom</span>:
        $3,300</span
      >
    </div>
  </div>
</div>

.community-card-link