TelematicTelematic
How it worksFeaturesDemoPricingBlogChannels
Sign inTry it freeSign in
How it worksFeaturesDemoPricingBlogChannels
TelematicTelematic

AI tools to draft, review and schedule content for your own channels.

Solutions

  • AI video for your YouTube channel
  • Text to video for Shorts & TikTok
  • Blog to video
  • Telegram channel autoposting
  • For agencies and freelancers
  • Pricing
  • Telegram post generator
  • Free tools
  • Results showcase
  • Partner program

Contacts

  • Our Telegram channel
  • Telegram Support
  • Email Support

Help

  • About
  • Docs
  • FAQ
  • Blog
  • Service status

Legal Information

  • Terms of Use
  • Public Offer
  • Privacy Policy
  • Created by Webula
Copyright Β© 2025 β€” 2026Telematic.Pro
    1. Home
    2. Blog
    3. How to Configure CSS Selectors for Content Parsing in Telematic.Pro
    Back to blog
    How to Configure CSS Selectors for Content Parsing in Telematic.Pro
    February 17, 20265 viewsContent Automation

    How to Configure CSS Selectors for Content Parsing in Telematic.Pro

    Learn how to properly configure CSS selectors for effective content parsing in Telematic.Pro using DevTools. Optimize your sources!

    Introduction

    When setting up sources in Telematic.pro, the correct configuration of CSS selectors plays an important role. They allow you to:

    • Extract links to articles from the main page of the website.
    • Find and parse the main content within each article.
    • Exclude unnecessary elements (e.g., ads, footers, side menus).

    To effectively parse content, you need to be able to find the right selectors using DevTools in your browser. In this article, we will discuss how to do this.

    Using DevTools to Find Selectors

    1. Opening DevTools

    In Google Chrome or Firefox, press F12 or Ctrl + Shift + I (on Mac: Cmd + Option + I) to open Developer Tools (DevTools).

    1741617980612_devtools-collection-product-hover-dd23c141bea5f9739410eaa06e83ee80.jpg

    2. Identifying the Link Selector

    1741617980537_select-an-element-63e42331a0df1985c597ffc8ead02a0f.jpg
    1741617980612_selected-element-652798a29828d5b1a4d893c2de7a0e75.jpg

    Let's say we want to extract links to articles from the main page of the blog "https://example.com/news".

    1. Open DevTools and select the Elements tab.
    2. Hover over the article title and right-click Inspect.
    3. In the page code, find the nearest <a> tag containing the link to the article.
    4. Check its classes, ID, or other attributes.
    5. To copy the ready selector, right-click on the element β†’ Copy β†’ Copy selector.

    Example HTML code:

    <article class="news-item">
        <a href="/news/article-123" class="news-link">Article Title</a>
    </article>
    

    Thus, the CSS selector for the links will be:

    .news-item .news-link
    

    In Telematic.pro, specify this selector in the CSS link selector field.

    3. Identifying the Content Selector

    1741617980612_devtools-collection-product-hover-dd23c141bea5f9739410eaa06e83ee80-2.jpg

    After obtaining the list of links, the system goes into each article and extracts the content. We need to specify where it is located.

    1. Open DevTools on the article page.
    2. Find the main container with the text (usually it is a <div>, <article>, <section>).
    3. Check its classes or ID.
    4. Highlight the desired container, right-click β†’ Copy β†’ Copy selector to quickly get the CSS selector.

    Example HTML code:

    <article class="article-content">
        <h1>Article Title</h1>
        <p>Article text...</p>
    </article>
    

    CSS selector for the content:

    .article-content
    

    Specify it in Telematic.pro in the CSS content selector field.

    4. Excluding Unwanted Elements

    1741617980612_devtools-collection-product-name-49124d4c5af086ac2577f349e1ffd989.jpg

    Sometimes, extra elements get into the article: blocks with ads, social buttons, links to other materials.

    1. Use DevTools to find the HTML code of the unwanted elements.
    2. Identify their classes or ID.
    3. Highlight the element, right-click β†’ Copy β†’ Copy selector to get its CSS selector.
    4. Test the selector in DevTools: open the console (the Console tab) and enter:
      document.querySelectorAll('selector')
      
      If multiple elements are found, you may need to refine the selector.

    Example HTML code with unwanted elements:

    <article class="article-content">
        <h1>Article Title</h1>
        <p>Article text...</p>
        <div class="related-posts">Other articles</div>
        <div class="ad-banner">Ad</div>
    </article>
    

    Excluding CSS selectors:

    .related-posts, .ad-banner
    

    Add them in Telematic.pro in the Excluding CSS selectors field.

    Complete Configuration Example in Telematic.pro

    1741617980555_Screenshot_2.jpg

    Suppose we are setting up a source for a blog with the URL https://example.com/news. The settings in Telematic.pro will be as follows:

    • CSS link selector: .news-item .news-link
    • CSS content selector: .article-content
    • Excluding CSS selectors: .related-posts, .ad-banner

    Conclusion

    Configuring CSS selectors allows you to accurately extract the necessary data and exclude unwanted elements. Use DevTools to find the right selectors, copy them via the context menu, and test them in the console before adding them to Telematic.pro.

    Let sites and RSS feed your channel

    Connect websites, RSS feeds and Telegram channels as sources. Telematic picks new material, rewrites it as your own post and publishes it.

    Try it free

    Free tokens on signup Β· No card required

    • Introduction
    • Using DevTools to Find Selectors
    • 1. Opening DevTools
    • 2. Identifying the Link Selector
    • 3. Identifying the Content Selector
    • 4. Excluding Unwanted Elements
    • Complete Configuration Example in Telematic.pro
    • Conclusion

    Trending

    01

    YouTube Shorts Autoposting: How to Set It Up and What It Costs

    390
    02

    AI Video: Do You Need to Label It and What Happens If You Don't

    340
    03

    Filmed Myself on My Phone β€” and Didn't Edit

    340
    CSS selectorscontent parsingTelematic.Proselector configurationdata extractionDevToolsweb scrapingarticle parsingsource configurationweb development
    Previous

    Keep Everyone! ⚑️ How to Retain Subscribers in Your Telegram Channel

    Next

    Telegram Channel Without a Team β€” How to Save on Copywriters

    Comments

    Log in to leave a comment

    No comments yet. Be the first!