Author: pramod

  • How to extract custom data using XPath or CSS selectors with WebsiteCrawler?

    WebsiteCrawler allows users to extract specific data from web pages using CSS style selectors and XPath selector. Both the approaches are powerful but XPath selector based extraction is more versatile.

    Extracting data using CSS selectors

    custom data settings

    In the custom data settings section, you must first select a project. After selecting a project, choose the extraction method which can be CSS or XPath. Now enter the URL on the page which has the data you want WebsiteCrawler to extract and enter the comma separated CSS, XPath selectors in the textbox below it.

    Suppose you want to extract the text of hyperlink element (a href) wrapped inside the span HTML tag for the project formsbook.com. Here’s the approach you should follow.

    data extraction

    Select project formsbook.com and select the extraction method “CSS”. In the URL to check field, enter the URL https://www.formsbook.com/demos/information-request-form/ and in the text box below below it, enter the css selector span > a where span > a selects direct child URLs inside the span HTML element. Now click the “Check and Add” button. If WebsiteCrawler detects matching elements, it will display the number of elements found on the page. This number can be 1 or more. Unless a match is found, the selector won’t be added to the crawling list. Once the selector is added to the crawling list, run a new crawl. The custom data (span > a) will be extracted and will be available in the “Custom data” report or the data section on reports page.

    The above screenshot is of our log file which depicts crawler working on the span > a custom data.

    custom data report

    The custom tags data report will be available under the content section of the reports section’s left sidebar only if custom data settings was configured and a crawl was run.

    custom data report tag selection

    This is the custom tags data report. Select a tag whose data you want to see.

    final custom data report

    This is the final report. You can download the data in the CSV, JSON format from the data section of the report.

    Extracting data using Xpath

    Here’s another example for extracting custom data. This time we will use XPath extraction method. Suppose I want to extract the number of users that the Growth subscription plan of WebsiteCrawler.org supports. Here’s the XPath settings for the same:

    In the above screenshot, you can see that the “Check and Add” button click resulted in a result. That Xpath selector was added to the crawling list. Now, after running a crawl, this report was generated.

    xpath data extraction report

    As only one page has the pricing table on WebsiteCrawler.org, only a single result is displayed in the custom tags data report and no data is reported for the other crawled pages.

    Note: A result should be returned for the XPath selector as well. Unless a matching result is displayed, the selector won’t be added to the crawling list. WebsiteCrawler verifies the selectors you enter. It uses Chrome browser to do so.

    internal links

    By default, WebsiteCrawler.org skips adding links to downloadable files such as PDFs, videos, MS Excel/Word/PowerPoint documents, etc available on web pages. To deactivate this behavior, visit the settings page then click on the Miscellaneous settings menu on the left sidebar. Once the settings appear, select a project from the drop-down list and choose the option “Consider links to downloadable files hosted on example.com as internal links” from the “Select a condition for internal links” drop-down list.

    Tip: In case you can’t write the XPath or CSS selector, use Google Gemini, Claude or ChatGPT. Ask these tools to generate a selector for the page and verify the same using our Custom Data feature.

  • How do I find duplicate content on entire website with WebsiteCrawler?

    Whether it’s near duplicate or exact copy of the content, WebsiteCrawler identifies the two across 1000s of pages in a few seconds. Our platform considers the repetition of phrases and words to identify it. By default, WebsiteCrawler considers non-stopwords to identify duplicate content. The platform does this to avoid false positives. What are stop words? WebsiteCrawler maintains a list of 100+ commonly used words. Such words will be ignored while generating the report.

    Website Crawler identifies up to 10 matching pages for each URL. It displays the URLs and the percentage similarity which can be up 100. The ideal score should be less than 70. If the page’s score for similarity is more than it, WebsiteCrawler.org flags it and considers the page as a duplicate.

    WebsiteCrawler can be configured to consider only indexable URLs/pages (pages without meta robots noindex directive) while identifying the duplicate content on the site. If you don’t want our platform to consider URLs which will not be indexed by search engines, you can visit the settings page and click the “Miscellaneous” menu on the left sidebar. Now select the project from the drop down list. Find the setting “Select a condition for duplicate content” and select the “Consider indexable URLs” item from the list. Your miscellaneous setting for the selected project will be saved automatically. Now visit the duplicate content report to see the latest results.

    The duplicate content report is generated once a day because the backend does heavy work in the background while generating this report. Furthermore, if a site is big, it is impossible to fix the content issues in a day on 100s of pages. If you have fixed the content, run a crawl and open the report again to see the latest changes on the next day.

  • Getting started with WebsiteCrawler

    WebsiteCrawler is a multipurpose platform which lets you monitor, audit, crawl a site and extract data for LLM training. It doesn’t require installation or special setup unless you want to do something extraordinary such as extracting custom data.

    How to run a crawl?

    Our crawler can be invoked from the homepage (visit websitecrawler.org) or via schedule feature. If you schedule a crawl, crawling will start at the time you specify. Homepage-based crawls can be started anytime not at a specific time. You have to submit a URL and limit to initiate it. Limit is the number of links you want WebsiteCrawler to process.

    The URL can be a simple link to your site’s homepage or to the sitemap file. Once WebsiteCrawler starts spidering a site, you’ll see a list of urls that have been processed on the homepage if the crawler was invoked from the homepage. In case of scheduled task, you can see the status in dashboard by clicking the “status” button.

    Types of URLs you can submit to WebsiteCrawler

    From the homepage, you can submit the link to the target website or its sitemap.xml file. In the 2nd case, each URL in the sitemap will be extracted and will be added to list of urls to be processed.

    What is crawling activity?

    When you submit a URL, WebsiteCrawler will extract the links on the page and its content. It will then process these URLs and their content. This process continues for each page until no link is found.

    What are projects?

    Projects separate data of websites. For example, if you’ve created 3 projects, each site in the project will have their own audit, extracted, or monitoring data. You can create a new project by clicking the green colored “create a project” button.

    What are reports?

    The reports section gives you access to the extracted data, and audit reports which comprises of plain data and charts. Reports can be downloaded as PDF files with WebsiteCrawler’s branding or custom branding. Our platform gives you access to 35+ audit reports. Each report is accompanied by filters.

    What is the settings page?

    This page allows users to see the past crawl history, schedule crawls, manage users, manage PDF report branding, select crawler type (HTML or Chrome), configure email alerts, set crawl delays, manage Google Search console integration, etc. It enables you to change password and email address as well. It has custom data section that lets you configure the CSS/XPath rules for a site.

  • Get WebsiteCrawler alerts to your Slack channel

    WebsiteCrawler integration for Slack enables users to receive messages to the Slack channel of the users choice leveraging Slack’s powerful feature called channels.

    Why use integration for Slack? Although you can group mails, web applications don’t send messages via different email addresses. For example, we send most emails through our help@websitecrawler.org address. We don’t send SSL expiry alerts through some different email alias. A user may get emails from many different sources. Hence, the mails can get lost in the crowd. Slack allows you to create dedicated channels. The WebsiteCrawler integration for Slack lets users receive important messages to these dedicated channels. Thus, if you create a channel dedicated to our alerts, you can easily find all important messages sent by WebsiteCrawler at the same place.

    Types of alerts WebsiteCrawler will send:

    Downtime alerts: Our platform monitors uptime of sites. Depending on your chosen subscription plan, our platform run uptime checks every 5, 3, and 1 minute. If your site is unreachable after a check, WebsiteCrawler will immediately send an email to your registered email address and a message to your Slack channel.

    SSL Expiry alerts: If the time left for the SSL certificate for the site to expire is less than a week, WebsiteCrawler will send Slack message to the channel along with the email.

    Crawl completion alerts: If you run a crawl, you don’t have to keep your eyes glued on the list of processed URLs displayed by WebsiteCrawler. Once the crawl job is complete, you will immediately get an alert message in your chosen Slack channel.

    Integrating Slack with WebsiteCrawler

    Our platform enables you to register a new account and sign in with your login credentials and sign in with Google. Log in to your WebsiteCrawler account and visit the settings page. Click the “API Integration” menu and find the button “Connect to Slack”.

    Click this button and complete the OAuth authentication. Once the OAuth authentication is successful, you’ll see a button “See channels”. Click this button. WebsiteCrawler will now show a list of channels available in your workspace.

    Select the channel where you’d live to receive our messages and click the “Save” button. The message “Connected to Slack” will convert to “Connected to Slack and sending messages to channel with id XXXXXX” where XXXXXX is your chosen Slack channel’s id.

    How will the messages look?

    The sent messages are easy to interpret. Slack will log every message sent by our platform in your channel.

    To know what data we collect and how long we retain it, please refer our Privacy Policy. You can also visit our Terms of Service page to read the TOS.

    If you’re facing any difficulties while using this feature or want to know more about this feature, you can write an email to us at help@websitecrawler.org

  • Analyze Log Files online

    Analyze Log Files online

    Logfile generated by web-servers such as Nginx, Apache, etc contains information that the widely used Analytics tools i.e. Google Analytics won’t display. For example, Google Analytics won’t display the IP address of the bot or the user.

    Log files contain a timestamp, HTTP protocol, request type, URL, status code, IP address, etc. Analyzing the log file data manually can be time-consuming. Here’s when the Website Crawler tool comes into the picture.

    With the log file analyzer tool of WC, you can see what URLs search bots are crawling or the IP addresses of the users that have visited the website. You can also see the URLs that people/bots are visiting the most.

    The Website Crawler’s Log File Analyzer tool displays the following important information:

    • Links with HTTP status code 200, 404, etc.
    • The number of times bots have visited your site.
    • Number of URLs present in the log file, and more.

    How to use the log file analyzer tool?

    Click the “Choose File” option, and select the access log file on your PC. If you don’t have the file, get it from the server. Once you choose the file, click the “Process” button. You’ll now see some vital details, a table containing the log file data, and a textbox.

    Log File Analyzer’s filter

    You can filter data by entering a word in the textbox you’ll below the file upload option. For example, if you want to see the list of URLs crawled by Googlebot, enter “Googlebot” in the textbox that you’ll find below the file selector/upload option. Once you enter the word, you’ll see the filtered data.

    Although WC is capable of reading large files, it will process only 100 lines of log files uploaded by free account holders/unregistered users. If you’ve got a silver account, WC will process 2500 URLs.

    Note: Website Crawler won’t save the file data or the entire file on the server. The file will be discarded once you’ve exited the page/closed the tab in which you’ve opened the tool.

  • How to create XML Sitemap for any website?

    How to create XML Sitemap for any website?

    As you might know, Website Crawler – On Page SEO Checker is capable of extracting URLs from sitemap and processing them. From now on, you can now create XML sitemaps for any website with WC. For those who don’t know, a sitemap is a file that contains all links the search bots should crawl and index. If your site is well structured, search bots will be able to find the pages. If your site is poorly structured and doesn’t have a sitemap, search bots may not crawl and index some of the pages on your website.

    To make sure that the important pages of your site are indexed, you should submit the URL of the sitemap file. Where to save the sitemap.xml file? Well, you can save the file to any folder of your website’s directory.

    WebsiteCrawler sitemap generator

    Once Website Crawler crawls your website, head over to the projects section, and click the “XML Sitemap” option.

    Now, you’ll see a form with several fields. In the first textbox, enter the number of URLs you want the sitemap to have. If you don’t want to see URLs containing specific words or characters in the XML file, enter the word in the textbox 2.

    Website Crawler sitemap generator

    URLs in sitemaps can have priority. URL with higher priority might be crawled/indexed first. With WC, you can create multiple sitemaps. Each sitemap can have URLs with different priorities.

    Once the sitemap is generated, you’ll see a URL. Click this link to see the XML file. Once the browser opens the file, right-click on the file’s data and select the “Save As” option.

    Sometimes, you may update a page/post on your site. To make sure that bots learn about the change and index the newer version of the page, you must either add the modified date or changefreq to the sitemap. As of now, WC doesn’t support dates. However, it can create sitemaps with changefreq option. If you set the URL changefreq to “weekly”, bots will crawl the URL on a weekly basis. Likewise, setting changefreq to “Always” will make the search bot visit the URL often.

  • Nofollow Links Checker

    Nofollow Links Checker

    “rel” is one of the attributes supported by hyperlinks. Before Google introduced the “sponsored” value for the “rel” attribute this month,  nofollow and dofollow were the commonly used values.  Links using the rel=”nofollow”/”dofollow” attributes are widely known as nofollow or dofollow URLs.

    DF links pass page rank to linked documents. Searchbots follow these URLs. NF hyperlinks don’t pass the link juice but they may reduce the page rank flowing to other URLs. It tells Googlebot that the link should be ignored or not considered for ranking the page of your website. Google recommends webmasters to use the rel=nofollow attribute only for URLs that make you money (affiliate URLs, etc).

    DF links are used for internal links, and links of the pages of a website that you don’t own. External dofollow URLs should point to point to relevant pages only. If you don’t do so, Googlebot may put your website to the list of sites that are selling backlinks. Sites engaged in the business of selling or buying links suffer from the Google Penguin algorithm.

    Finding nofollow links on your entire website

    One of the special features of WebsiteCrawler is its ability to find nofollow URLs. WC makes you aware of the pages on your site that have the most number of links with the rel=”nofollow” attribute.

    To access this report, create your WebsiteCrawler.org account and follow the instructions displayed on the screen. Once your site has been crawled, you should navigate to your account’s dashboard, click on the project name and then click the “Nofollow Links” report.

    Nofollow Links checker

    This report displays two columns – Link and the Page Where the link was found. The first column displays a count of nofollow URLs WC has found and the other column displays the URL of the page on your website where the link was found.

    Now, to see the links with the rel=”nofollow” attribute, copy the page URL from column 2. Now, open the “Link Data” report page and paste the URL you’ve copied in the textbox. Now, choose the “Nofollow Links” option from the dropdown list and click the “Submit” button.

  • How to find low quality content on a website for free?

    How to find low quality content on a website for free?

    Thin content is one of the major reasons why websites suffer from Google Panda algorithm penalty. For those who are not aware, Google’s Panda algorithm has been designed to lower the rankings of websites that have On-Page SEO issues. Thin content is one of several On-Page search engine optimization issues.

    The Panda algorithm is now baked into the core algorithm. The best way to avoid this penalty is to find thin posts/pages and either rewrite the entire content, update it, add new paragraphs to it or noindex it.

    Although the above-mentioned activities take some time, the results can be fruitful.

    Benefits of finding and improving thin content

    If your website was hit by the Google Panda algorithm penalty, you should see some improvement after a major algorithm update. If your website wasn’t affected by an algorithm update and you have published high-quality content on your website, your website will start getting more visitors.

    Finding thin content on a website

    Frankly speaking, if a website has a 100s of 1000s of posts, it will take a lot of time to find thin pages. If you’re using a CMS such as WordPress, installing plugin will help you but your website’s performance will take a toll. This is because the plugin that finds the number of words in a post/pages will run several queries.

    The best way to find thin content on a website is to use Website Crawler.

    How to find thin pages on a website with WC?

    website crawler thin content report

    Step 1: Open Website Crawler – The On Page SEO checker. Enter your website’s URL in the 1st textbox and the number of pages you want to analyze in the textbox 2.

    Step 2: Click the Submit button. WC will now show a button called Status. Click this button to see the current crawling status.

    Step 3: Once WC crawls your website, enter your email address and click the submit button. Now, enter the verification code in the new textbox displayed on the screen. When you enter a correct verification code, WC will create an account for you and it will display a success message.

    Step 4: Log in to your account, and click the project name. Now, scroll down till you find the “Content Report” option. That’s it. Website Crawler will now display a list of posts, the number of paragraphs and words it has.

    Conclusion: If you want your website to be alive for several years, either make sure that you post high-quality content or noindex/update the outdated or thin content.

  • Broken Links Checker: Find 404 links on website

    Broken Links Checker: Find 404 links on website

    When a page of a website is unreachable, the visitor will see an error message in the browser’s tab. These messages are reported because of the following reasons:

    The database server isn’t working: All nonstatic websites save data to the database. If the database server isn’t working, the page won’t won’t be able to get data from the DB table and either the page will be blank or the webserver will report NON-HTTP 200 status code.

    Rate Limiting: A web server may be configured to limit the number of continuous requests a client/visitor can make to the page. If several requests are made to a page in a short period of time, the web server will throw an error.

    The page has been removed: If the webmaster, user or a developer has removed the page, the webserver will report HTTP Status 404. The problem with the 404 status code is that the search bots will make several attempts to crawl the page in the future. To reduce the number of these attempts, you can configure the web-server to throw HTTP Status 410 error instead of 404 for the broken links.

    Other reasons that may make your web server respond with status codes other than HTTP 200 are as follows:

    • DNS issue.
    • Network issue.
    • User is blocked by the firewall, etc

    Using Website Crawler as a broken links checker

    website crawler http status 404

    Website Crawler not only enables you to find broken links on your site but also makes you aware of unresponsive pages on your website. Follow the below steps to find broken URLs on your website:

    Step 1: Enter the URL of your website in the textbox 1 and the number of URLs you want to check in the textbox 2 displayed on the homepage and click the submit button.

    Step 2: Click the Status button to see the “Crawl Status”. Once Website Crawler finishes crawling your site, enter your email address and then the verification code sent to your inbox. Now, log in to your account.

    Step 3: Once you log in, you’ll see your project name, website URL and the last crawl date. Click the project name to see the reports.

    Step 5: Click the “HTTP Status” URL on the left sidebar of the reports interface and click the 1st drop-down list. Now choose the HTTP status code from the list of options displayed on the screen. Once you do so, click the drop-down list 2 and choose one of the following two options:

    • Internal Links.
    • External Links.

    Click the “Filter” button. Website Crawler will now display the list of URLs that responded with the HTTP status code you had selected in the drop-down list 1. To see the page where the interlink was detected by Website Crawler, click the “Source” button and scroll down till you find the “Pages where the link ______ was found” section.

    internal link sources

    Conclusion: You can not only find broken URLs on your website but also discover pages that are responding with Non-200 HTTP status code with Website Crawler.