Новости

Переход в новостной контекст

Зачастую, когда возникает необходимость собирать новости с множества различных сайтов, как правило требуется написание парсеров под каждый новостой сайт. С Diggernaut можно написать один универсальный парсер для практически любых новостных сайтов. Как это работает? Парсер должен загрузить содержимое страницы, используя команду walk. Затем перейти в новостной контекст. После чего появится возможность использования команд для извлечения ссылок на категории, фиды, статьи, а также самих статей и аналитических данных, полученных с использованием методов NLP. Ниже мы рассмотрим применение всех команд контекста с примерами. Для корректной работы алгоритмов, при переходе в новостной контекст, нужно установить язык вебсайта, по умолчанию используется английский язык. Поддерживаются следующие языки:

Код языка Язык
en Английский.
ru Русский.
ar Арабский.
da Датский.
de Немецкий.
es Испанский.
el Греческий.
fa Персидский.
fi Финский.
fr Французский.
he Иврит.
hu Венгерский.
id Индонезийский.
it Итальянский.
ko Корейский.
nl Голландский.
no Норвежский.
pl Польский.
pt Португальский.
sv Шведский.
sw Суахили.
tr Турецкий.
uk Украинский.
vi Вьетнамский.
zh Китайский.

Сбор ссылок на новостные категории

Первой командой, которую мы рассмотрим будет categories. Эта команда позволяет получить ссылки на новостные категории с загруженной страницы:

                            # ОТКРЫВАЕМ ГЛАВНУЮ СТРАНИЦУ НОВОСТНОГО САЙТА
- walk:
    to: https://www.cnn.com
    do:
    # ПЕРЕХОДИМ В НОВОСТНОЙ КОНТЕКСТ И УСТАНАВЛИВАЕМ ЯЗЫК
    - news:
        language: "en"
        do:
        # ИЗВЛЕКАЕМ ССЫЛКИ НА КАТЕГОРИИ
        - categories:
            do:
            # ПРОХОДИМ В КАЖДУЮ НОДУ
            - find:
                path: categories
                do:
                # ПАРСИМ СОДЕРЖИМОЕ НОДЫ И ДОБАВЛЯЕМ ССЫЛКУ В ПУЛ
                - parse
                - link_add
                            
                            
                            
<body_safe>
    <categories>https://www.cnn.com</categories>
    <categories>http://us.cnn.com</categories>
    <categories>https://www.cnn.com/accessibility</categories>
    <categories>https://www.cnn.com/vr</categories>
    <categories>https://www.cnn.com/world</categories>
    <categories>https://www.cnn.com/specials</categories>
    <categories>https://www.cnn.com/transcripts</categories>
    <categories>https://www.cnn.com/europe</categories>
    <categories>http://cnnespanol.cnn.com</categories>
    <categories>https://www.cnn.com/uk</categories>
    <categories>https://www.cnn.com</categories>
    <categories>http://edition.cnn.com</categories>
    <categories>https://www.cnn.com/china</categories>
    <categories>https://www.cnn.com/msa</categories>
    <categories>https://www.cnn.com/style</categories>
    <categories>https://www.cnn.com/business</categories>
    <categories>https://www.cnn.com/sport</categories>
    <categories>https://www.cnn.com/africa</categories>
    <categories>https://www.cnn.com/live-tv</categories>
    <categories>https://www.cnn.com/entertainment</categories>
    <categories>https://www.cnn.com/middle-east</categories>
    <categories>https://www.cnn.com/health</categories>
    <categories>https://www.cnn.com/videos</categories>
    <categories>https://commercial.cnn.com</categories>
    <categories>http://arabic.cnn.com</categories>
    <categories>https://www.cnn.com/audio</categories>
    <categories>https://www.cnn.com/politics</categories>
    <categories>https://money.cnn.com</categories>
    <categories>https://www.cnn.com/india</categories>
    <categories>https://www.cnn.com/weather</categories>
    <categories>https://www.cnn.com/asia</categories>
    <categories>https://www.cnn.com/more</categories>
    <categories>https://www.cnn.com/americas</categories>
    <categories>https://www.cnn.com/australia</categories>
    <categories>https://www.cnn.com/collection</categories>
    <categories>https://www.cnn.com/travel</categories>
</body_safe>
                            
                            

Сбор ссылок на фиды

Получить список ссылок на RSS фиды можно командой feeds:

                            # ОТКРЫВАЕМ СТРАНИЦУ НОВОСТНОГО САЙТА
- walk:
    to: https://edition.cnn.com/services/rss/
    do:
    # ПЕРЕХОДИМ В НОВОСТНОЙ КОНТЕКСТ И УСТАНАВЛИВАЕМ ЯЗЫК
    - news:
        language: "en"
        do:
        # ИЗВЛЕКАЕМ ССЫЛКИ НА RSS ФИДЫ
        - feeds:
            do:
            # ПРОХОДИМ В КАЖДУЮ НОДУ
            - find:
                path: feeds
                do:
                # ПАРСИМ СОДЕРЖИМОЕ НОДЫ И ДОБАВЛЯЕМ ССЫЛКУ В ПУЛ
                - parse
                - link_add
                            
                            
                            
<body_safe>
    <feeds>http://rss.cnn.com/rss/edition.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_asia.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_europe.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_us.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_world.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_africa.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_americas.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_meast.rss</feeds>
    <feeds>http://rss.cnn.com/rss/money_news_international.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_technology.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_space.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_entertainment.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_sport.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_football.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_travel.rss</feeds>
    <feeds>http://rss.cnn.com/rss/cnn_freevideo.rss</feeds>
    <feeds>http://rss.cnn.com/rss/cnn_latest.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_connecttheworld.rss</feeds>
    <feeds>http://rss.cnn.com/rss/edition_worldsportblog.rss</feeds>
</body_safe>
                            
                            

Собираем ссылки на статьи

Для этого мы будем использовать команду articles:

                            # ОТКРЫВАЕМ СТРАНИЦУ НОВОСТНОГО САЙТА
- walk:
    to: https://www.cnn.com/business
    do:
    # ПЕРЕХОДИМ В НОВОСТНОЙ КОНТЕКСТ И УСТАНАВЛИВАЕМ ЯЗЫК
    - news:
        language: "en"
        do:
        # ИЗВЛЕКАЕМ ССЫЛКИ НА СТАТЬИ
        - articles:
            do:
            # ПРОХОДИМ В КАЖДУЮ НОДУ
            - find:
                path: articles
                do:
                # ПАРСИМ СОДЕРЖИМОЕ НОДЫ И ДОБАВЛЯЕМ ССЫЛКУ В ПУЛ
                - parse
                - link_add
                            
                            
                            
<body_safe>
    <articles>https://www.cnn.com/2022/01/01/cnn-underscored/money/best-credit-cards/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2022/01/05/cnn-underscored/money/should-i-refinance-my-mortgage/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2022/01/06/cnn-underscored/money/best-balance-transfer-credit-cards/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2022/02/10/cnn-underscored/money/pnc-virtual-wallet-review/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2022/01/04/cnn-underscored/money/citi-double-cash-credit-card-review/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2021/08/18/cnn-underscored/chase-sapphire-preferred-reasons-to-get/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2022/01/11/cnn-underscored/money/citi-priority-checking-account-review/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2021/01/20/cnn-underscored/american-express-gold-card-review/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2021/10/20/cnn-underscored/southwest-companion-pass/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2021/12/22/cnn-underscored/money/how-to-access-airport-lounges/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2021/04/20/cnn-underscored/first-travel-credit-card-chase-sapphire-preferred/index.html?CID=CNNbusinesshomepagebin</articles>
    <articles>https://www.cnn.com/2022/01/27/cnn-underscored/money/best-travel-credit-cards/index.html?CID=CNNbusinesshomepagebin</articles>
</body_safe>
                            
                            

Парсим статью

Для парсинга статьи и NLP используется команда article:

                            # ОТКРЫВАЕМ СТРАНИЦУ СО СТАТЬЕЙ
- walk:
    to: https://us.cnn.com/cnn-underscored/travel/how-to-access-airport-lounges
    do:
    # ПЕРЕХОДИМ В НОВОСТНОЙ КОНТЕКСТ И УСТАНАВЛИВАЕМ ЯЗЫК
    - news:
        language: "en"
        do:
        # ИЗВЛЕКАЕМ ДАННЫЕ О СТАТЬЕ
        - article:
            do:
            # ПАРСИМ НУЖНЫЕ НАМ ПОЛЯ И СОХРАНЯЕМ В ОБЪЕКТ
                            
                            
                            
<body_safe>
    <additional_data></additional_data>
    <authors>Emily Mcnutt</authors>
    <canonical_link>https://www.cnn.com/cnn-underscored/travel/how-to-access-airport-lounges</canonical_link>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?q=h_1800,w_3200,x_0,y_0</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/211011203455-underscored-amex-centurion-lounge-lhr-london-heathrow.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_144,w_256</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?c=16x9&amp;q=h_270,w_480,c_fill</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/200207021127-underscored-plane-wing-at-sunset.jpg?q=x_3,y_0,h_1796,w_3193,c_crop/h_144,w_256</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/211011094412-underscored-united-club-chicago-ord.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/211222131017-underscored-capital-one-lounge-dfw.jpg?c=16x9&amp;q=h_270,w_480,c_fill</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/211011095522-underscored-emirates-first-lounge-dubai.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/211011100328-underscored-air-france-la-premiere-lounge.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/211011102518-underscored-admirals-club.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/200217114332-underscored-delta-sky-club-atlanta-terminal-b.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</images>
    <images>https://media.cnn.com/api/v1/images/stellar/prod/211011094734-underscored-hong-kong-centurion-lounge.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</images>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?q=h_1800,w_3200,x_0,y_0</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/211011203455-underscored-amex-centurion-lounge-lhr-london-heathrow.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_144,w_256</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?c=16x9&amp;q=h_270,w_480,c_fill</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/200207021127-underscored-plane-wing-at-sunset.jpg?q=x_3,y_0,h_1796,w_3193,c_crop/h_144,w_256</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/211011094412-underscored-united-club-chicago-ord.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/211222131017-underscored-capital-one-lounge-dfw.jpg?c=16x9&amp;q=h_270,w_480,c_fill</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/211011095522-underscored-emirates-first-lounge-dubai.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/211011100328-underscored-air-france-la-premiere-lounge.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/211011102518-underscored-admirals-club.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/200217114332-underscored-delta-sky-club-atlanta-terminal-b.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</imgs>
    <imgs>https://media.cnn.com/api/v1/images/stellar/prod/211011094734-underscored-hong-kong-centurion-lounge.jpg?q=x_0,y_0,h_900,w_1599,c_fill/h_270,w_480</imgs>
    <keywords>airlines</keywords>
    <keywords>pass</keywords>
    <keywords>cards</keywords>
    <keywords>best</keywords>
    <keywords>lounge</keywords>
    <keywords>card</keywords>
    <keywords>worlds</keywords>
    <keywords>express</keywords>
    <keywords>american</keywords>
    <keywords>airport</keywords>
    <keywords>access</keywords>
    <keywords>lounges</keywords>
    <meta_data>
        <article>
            <modified_time>2022-03-15T17:01:46.330Z</modified_time>
            <published_time>2022-02-18T15:13:26.919Z</published_time>
            <publisher>https://www.facebook.com/CNN</publisher>
            <tag>underscored, underscored travel, underscored explore</tag>
        </article>
        <author>Emily McNutt</author>
        <description>The flying experience can be hectic. But, thankfully there are places to rest and relax in the airport to help take the stress out of flying — complete with food and drink. Here&#39;s how you can get access to some of the world&#39;s best lounges.</description>
        <fb>
            <app_id>80401312489</app_id>
        </fb>
        <keywords>underscored, underscored travel, underscored explore</keywords>
        <meta-section>cnn-underscored</meta-section>
        <og>
            <description>The flying experience can be hectic. But, thankfully there are places to rest and relax in the airport to help take the stress out of flying — complete with food and drink. Here&#39;s how you can get access to some of the world&#39;s best lounges.</description>
            <safe_image>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?q=h_1800,w_3200,x_0,y_0</safe_image>
            <site_name>CNN Underscored</site_name>
            <title>How to access some of the world’s best airport lounges | CNN Underscored</title>
            <type>article</type>
            <url>https://www.cnn.com/cnn-underscored/travel/how-to-access-airport-lounges</url>
        </og>
        <parsely-author>Emily McNutt</parsely-author>
        <parsely-image-url>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?q=h_1800,w_3200,x_0,y_0</parsely-image-url>
        <parsely-link>https://www.cnn.com/cnn-underscored/travel/how-to-access-airport-lounges</parsely-link>
        <parsely-post-id>ckzsg9o1v000047n0gpvrob4v</parsely-post-id>
        <parsely-pub-date>2022-02-18T15:13:26.919Z</parsely-pub-date>
        <parsely-section>cnn-underscored</parsely-section>
        <parsely-tags>underscored, underscored travel, underscored explore</parsely-tags>
        <parsely-title>How to access some of the world’s best airport lounges</parsely-title>
        <parsely-type>post</parsely-type>
        <template_type>article_leaf</template_type>
        <theme>underscored</theme>
        <twitter>
            <card>summary_large_image</card>
            <description>The flying experience can be hectic. But, thankfully there are places to rest and relax in the airport to help take the stress out of flying — complete with food and drink. Here&#39;s how you can get access to some of the world&#39;s best lounges.</description>
            <safe_image>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?q=h_1800,w_3200,x_0,y_0</safe_image>
            <site>@CNNUnderscored</site>
            <title>How to access some of the world’s best airport lounges | CNN Underscored</title>
        </twitter>
        <type>article</type>
        <viewport>width=device-width,initial-scale=1,shrink-to-fit=no</viewport>
    </meta_data>
    <meta_description>The flying experience can be hectic. But, thankfully there are places to rest and relax in the airport to help take the stress out of flying — complete with food and drink. Here&#39;s how you can get access to some of the world&#39;s best lounges.</meta_description>
    <meta_img>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?q=h_1800,w_3200,x_0,y_0</meta_img>
    <meta_keywords>underscored</meta_keywords>
    <meta_keywords>underscored travel</meta_keywords>
    <meta_keywords>underscored explore</meta_keywords>
    <meta_lang>en</meta_lang>
    <movies></movies>
    <publish_date>2022-02-18T15:13:26.919000+00:00</publish_date>
    <summary>Airport lounges are some of the most idyllic places to spend time before your flight.
    Let’s take a look at some of the most common ways you can access airport lounges across the world.
    In November, Capital One opened its first-ever airport lounge at Dallas-Fort Worth International Airport (DFW).
    If you want access to these spaces, book yourself an eligible business-class ticket that grants you lounge access.
    This could be a great option for military members, as not only will they be able to access the cards’ slew of benefits, but they’ll also get complimentary lounge access via the cards’ lounge access perks.</summary>
    <tags></tags>
    <text>CNN Underscored reviews financial products such as credit cards and bank accounts based on their overall value. We may receive a commission through the LendingTree affiliate network if you apply and are approved for a card, but our reporting is always independent and objective. Terms apply to American Express benefits and offers. Enrollment may be required for select American Express benefits and offers. Visit americanexpress.com to learn more.

    The feelings often associated with flying tend to be dreary. Between time spent waiting in line to check in and get through security, dodging other passengers in narrow corridors and waiting in a gate area that never seems to have enough seats, there’s plenty that makes the flying experience less than ideal.

    But it doesn’t have to be that way.

    There are places in the airport you can go to escape the manic nature of the terminal. They’re called airport lounges. Airport lounges are some of the most idyllic places to spend time before your flight. They often offer free food and drinks, ample seating, free Wi-Fi and additional amenities like showers and nap pods, and some even offer spas, barbershops and workout equipment.

    The Emirates First Class Lounge in Dubai. Emily McNutt

    Accessing these lounges can be easy too, as they’re often not just reserved for the most frequent flyers. Indeed, even if you only travel a couple of times per year, you can gain access to lounges all across the globe without paying a fortune.

    Let’s take a look at some of the most common ways you can access airport lounges across the world.

    Credit cards with VIP perks

    By far the easiest way to ensure you can access an airport lounge is with a credit card. There are a number of credit cards that offer lounge access as a perk of simply having the card. The best example of this is The Platinum Card® from American Express, which is often considered one of the best overall credit cards for frequent travelers.

    With the Amex Platinum Card, card members are allowed to access any of American Express’s own network of Centurion Lounges. Centurion Lounges are some of the nicest and most desirable airport lounges in the United States, given their comfy environments, business-related services and curated menus that offer free food and drinks for travelers.

    Currently, there are 24 Centurion Lounges around the world at these domestic and international airports, with the most recent opening being London Heathrow.

    Domestic: Charlotte, Dallas, Denver, Houston, Las Vegas, Los Angeles, Miami, New York/JFK, New York/LGA, Philadelphia, Phoenix, San Francisco, Seattle

    International: Buenos Aires, Delhi, Hong Kong, London, Melbourne, Mexico City, Monterrey, Mumbai, Sao Paulo, Stockholm, Sydney

    Additionally, American Express has announced plans to open new locations in Atlanta and Washington, DC.

    The Centurion Lounge in Hong Kong. Emily McNutt

    With the Amex Platinum card, members also have access to Delta Air Lines’s network of Sky Club lounges, so long as you’re flying on a Delta-operated flight on the same day.

    It’s not just Amex that has its own set of lounges. In November, Capital One opened its first-ever airport lounge at Dallas-Fort Worth International Airport (DFW). The first lounge in the Capital One network has quickly become one of the best domestic lounges thanks to its premium food offerings, multiple relaxation areas, two Peloton bikes and bar with custom cocktails.

    Emily McNutt

    Capital One is also planning to open more lounges in the future, with Denver International Airport (DEN) and Washington, DC’s Dulles International Airport (IAD) set to open later in 2022. Access to Capital One Lounges is reserved for card holders of the new Capital One Venture X. Additionally, Venture and Spark Miles card holders get two free visits per year and then a fee of $45 per visit each time thereafter.

    Chase is also planning to get in on the issuer-branded airport lounge trend. With its lounge network, called Chase Sapphire Lounge by The Club, the issuer is planning to open locations at Hong Kong International Airport (HKG), Boston Logan International Airport (BOS), New York LaGuardia (LGA), San Diego International Airport (SAN) and Phoenix Sky Harbor International Airport (PHX).

    It’s unclear at this point who will be welcomed to visit the Chase lounges. However, it’s likely that Chase Sapphire Reserve® card holders will be permitted access.

    A number of cards — including the Amex Platinum — also offer a Priority Pass membership as a benefit of having the card (enrollment required). Priority Pass is a network of more than 1,300 lounges available around the world, entitling members to a relaxing space and food and drink before their flight. Some Priority Pass benefits even extend beyond lounges to restaurants within the airport terminal, allowing members to save money on meals.

    Personal credit cards that offer a Priority Pass membership with unlimited access to lounges include the Amex Platinum, the Chase Sapphire Reserve®, the Hilton Honors American Express Aspire Card and the Marriott Bonvoy Brilliant™ American Express® Card.

    Some other credit cards, such as the Hilton Honors American Express Surpass® Card, offer some Priority Pass visits each year, but not unlimited access. Also, some cards allow card holders to take guests into Priority Pass lounges for free, while other memberships charge for guest access.

    All information about the Hilton Honors American Express Surpass® Card has been collected independently by CNN. The Hilton Honors American Express Surpass® Card is not currently available through CNN.

    American Airlines, Delta Air Lines and United Airlines all also have their own respective lounge networks as well, dubbed Admirals Clubs, Sky Clubs and United Clubs, respectively. Each airline typically allows select elite members, international premium-cabin flyers and people with the airline’s top-tier credit card to access their lounges.

    Use your Platinum Card to visit the Delta Sky Club in Atlanta&#39;s Terminal B. Delta Air Lines

    For example, with the Citi® / AAdvantage® Executive World Elite Mastercard®, card members receive an Admirals Club membership, including access for up to two guests, while the Delta SkyMiles® Reserve American Express Card provides access to Delta Sky Clubs when you’re traveling Delta on a same-day ticket.

    Membership service

    If you don’t think you’ll get enough use out of a credit card to justify its annual fee, you can consider purchasing a lounge membership all on its own. Priority Pass, which offers a network of lounges across the globe, allows travelers to purchase a membership outright.

    Priority Pass offers three levels of membership, which vary in price depending how much you plan to use the service:

    Standard — $99 per year, which allows you to access lounges for $32 per visit. You can also pay $32 for each guest traveling with you to enter the lounge. Standard Plus — $299 per year, which grants you 10 free visits each year and then costs $32 for each visit thereafter. Additionally, each guest costs $32, even for the first 10 visits. Prestige — $429 per year, which grants you unlimited free visits each year. Each guest will cost $32.

    Keep in mind that if you think you may use the service several times a year and plan to bring guests with you when you travel, you may get better value with one of the credit cards we mentioned above, since the annual fee on one of those cards may be less than what you’d pay for a membership plus guest passes.

    If you live near a city that’s home to an airline — think Atlanta with Delta, Chicago with United or Dallas with American — you could consider purchasing a lounge membership to that airline’s lounge network. For example, you can pay $650 per year for a membership to gain access to American Airlines’ Admirals Club lounges, as well as those with Alaska Airlines and Qantas.

    However, paying directly for a lounge membership typically doesn’t give you the best value — getting lounge access with a credit card can be both cheaper and come with additional perks when flying that airline.

    Flying internationally in a premium cabin

    Historically, the easiest way to guarantee access to an airport lounge comes via your boarding pass. Airlines around the world have spent large sums of money to create bespoke airport lounges for their premium flyers to enjoy before a flight.

    Most legacy airlines — including Delta, American and United — have dedicated lounge spaces where business- and first-class flyers can relax. If you want access to these spaces, book yourself an eligible business-class ticket that grants you lounge access.

    Now, it’s important to note that if you’re flying domestically, you typically won’t get access to an airline’s lounge just for having a business-class ticket. There are some exceptions, mainly centered around transcontinental flights, but to get lounge access with your boarding pass, you usually need to be traveling to an international destination.

    Some airlines — especially in Europe, Asia and the Middle East — also have separate, dedicated spaces for their most premium first-class flyers. These spaces, which are the most exclusive in any airport, are often reserved entirely for customers flying in first class with an airline.

    A meal in Air France&#39;s La Première lounge. Emily McNutt

    For example, Air France has a dedicated lounge for its first-class passengers, dubbed La Première. Tickets in La Première often cost in the thousands of dollars. So unless you’re willing to shell over the cash, don’t expect to get access to this exclusive space.

    Airline elite status

    Airlines reward their most loyal customers with elite status, and the benefits you get with elite status vary by airline and what level of status you attain. For example, if you fly enough with a single airline to earn its lowest level of elite status, you may be entitled to perks such as complimentary checked baggage, priority check-in and boarding and the ability to earn additional frequent flyer miles for each flight you take.

    But if you fly enough with a single airline to earn its highest level of elite status, you might be entitled to additional, more lucrative benefits — including some lounge access.

    For example, with United Airlines’ MileagePlus loyalty program, Gold, Platinum and 1K members — the top three levels of United elite status — are entitled to access United lounges with a same-day international United boarding pass, even if they’re flying on an economy ticket. Unfortunately, you still won’t get lounge access if you’re only flying domestically, even with elite status.

    The United Club in Chicago&#39;s O&#39;Hare Airport. United Airlines

    But because United is a member of the Star Alliance, which includes 25 other global airlines, Gold, Platinum and 1K members can also access Star Alliance partner lounges outside of the US, so long as they have a same-day Star Alliance boarding pass, even in economy.

    Elite status benefits vary widely depending on the airline, so be sure to check the perks of the airline with which you have status to see if you’re entitled to lounge access.

    Purchasing one-time access

    Perhaps the easiest way to guarantee you have lounge access on any given day is to purchase it outright with a day pass or one-time-use pass. By buying your way into a lounge, you’re guaranteed access without having to worry about any extras. If you only travel once or twice a year but want lounge access, this could be the best way to go.

    LoungeBuddy is a great service that allows you to preview which lounges in any given airport around the world offer travelers the ability to purchase one-time access. If you find a lounge that looks appealing, you can purchase your one-time access directly through LoungeBuddy’s app.

    The service charges varying fees for access, depending on the lounge. But if you have the American Express® Green Card, you’ll get up to $100 in LoungeBuddy credits each year to spend on single-use lounge passes.

    All information about the American Express® Green Card has been collected independently by CNN. The American Express® Green Card is not currently available through CNN.

    Alternatively, LoungeBuddy can be useful for determining if you have complimentary lounge access via airline elite status, credit cards or your fare class. It’s otherwise free to use as long as you’re not buying access to a lounge.

    American Airlines also recently began offering flyers the option to purchase one-time access to its Flagship Lounges, which are typically reserved for Flagship First and Flagship Business passengers only. Travelers flying on an American- or Oneworld-operated flight can purchase a single-visit pass for $150 — and you can be traveling in any cabin to take advantage.

    As of February 2022, travelers can purchase one-time access to the Star Alliance Lounge at Los Angeles International Airport (LAX). Since November 2021, travelers could purchase access to the Star Alliance Lounge at Buenos Aires’ Ezeiza International Airport (EZE), and the alliance plans to roll the option out to more of its global network. You must pre-book your visit, and once you do so, you’ll receive a QR code to show on entry. Access costs $65 per person.

    Free access as a member of the military

    A few lounge providers allow active duty members of the military to access their lounges for free. In particular, United Airlines provides lounge access to active duty military members with a valid military ID and their families, so long as they have a boarding pass for travel within 24 hours on a United-operated flight. American Airlines also allows US military personnel traveling in uniform to access its Admirals Clubs if they’re traveling on a same-day flight operated by American.

    An American Airlines Admirals Club. American Airlines

    Keep in mind, too, that active duty members of the military are also eligible to have their annual fees waived on the Amex Platinum card (see rates and fees) and Chase Sapphire Reserve. This could be a great option for military members, as not only will they be able to access the cards’ slew of benefits, but they’ll also get complimentary lounge access via the cards’ lounge access perks.

    Click here for rates and fees of the American Express Platinum card.

    Find out which cards CNN Underscored chose as our best travel credit cards of 2022.</text>
    <title>How to access some of the world’s best airport lounges</title>
    <top_image>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?q=h_1800,w_3200,x_0,y_0</top_image>
    <top_img>https://media.cnn.com/api/v1/images/stellar/prod/211222131059-underscored-houston-iah-centurion.jpg?q=h_1800,w_3200,x_0,y_0</top_img>
    <url>https://us.cnn.com/cnn-underscored/travel/how-to-access-airport-lounges</url>
</body_safe>
                            
                            

Внимание! Данный функционал доступен только на платной подписке или при подключении плана PAYG.

Далее мы рассмотрим функции, предназначенные для работы с географическими данными.