# How to "cut" and display part of the external website

**URL:** <https://casparcgforum.org/t/how-to-cut-and-display-part-of-the-external-website/5036>\
**Category:** General\
**Tags:** template\
**Created:** [September 1, 2022, 10:37am UTC](https://casparcgforum.org/t/how-to-cut-and-display-part-of-the-external-website/5036 "2022-09-01T10:37:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jons](https://casparcgforum.org/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@jons](https://casparcgforum.org/u/jons)\
**Post date:** [September 1, 2022, 10:37am UTC](https://casparcgforum.org/t/how-to-cut-and-display-part-of-the-external-website/5036/1 "2022-09-01T10:37:10Z")

</div>

Hello, I want to display a certain div of an external website as a graphic element. For example, there is a website that shows live driver placement of a car race, instead of scraping data and creating complex dynamic score board I could just use existing one on that website.

How can I achieve that?

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 1, 2022, 4:18pm UTC](https://casparcgforum.org/t/how-to-cut-and-display-part-of-the-external-website/5036/2 "2022-09-01T16:18:19Z")

</div>

You could try NDI scan converter and define a region of interest, as long as this div fits into the screen at once (without scrolling). Then you can play the NDI source in Caspar.

But the result is far away of a broadcast graphic, it’s a quick and dirty way to do it. Very ugly… 🙂

---

<div class="post-metadata">

**Author:** ![silid](https://casparcgforum.org/user_avatar/casparcgforum.org/silid/32/22_2.png) [@silid](https://casparcgforum.org/u/silid)\
**Post date:** [September 1, 2022, 9:12pm UTC](https://casparcgforum.org/t/how-to-cut-and-display-part-of-the-external-website/5036/3 "2022-09-01T21:12:49Z")

</div>

Can you load the web page in CasparCG but then use the MIXER CLIP functions to crop it to an area of interest?

---

<div class="post-metadata">

**Author:** ![markusnygard](https://casparcgforum.org/user_avatar/casparcgforum.org/markusnygard/32/8_2.png) [@markusnygard](https://casparcgforum.org/u/markusnygard)\
**Post date:** [September 3, 2022, 8:26am UTC](https://casparcgforum.org/t/how-to-cut-and-display-part-of-the-external-website/5036/4 "2022-09-03T08:26:27Z")

</div>

Hi  
For me its a bit unclear if you want to show the data of the div (as a overlay graphics) or the output of the div (as a picture in picture).  
As the answers above says if it a PiP then you can for example do a NDI-screencapture, bring it in as a layer and in the official client add “Crop” from the Mixer-section to that layer.  
If you want to create a graphic for the data of the div the you have to do some HTML-coding as in create a new graphics template.  
There is a third option that I havent tried but should work and that would be to use “[Scoreboard OCR](https://www.scoreboard-ocr.com)” (a paid appplication) to grab the div and convert it to data

br markus

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 3, 2022, 1:48pm UTC](https://casparcgforum.org/t/how-to-cut-and-display-part-of-the-external-website/5036/5 "2022-09-03T13:48:05Z")

</div>

> [@markusnygard](#):
>
> There is a third option that I havent tried but should work and that would be to use “[Scoreboard OCR](https://www.scoreboard-ocr.com)” (a paid appplication) to grab the div and convert it to data

That should work, as long as the webpage with that div does not need to be scrolled.

Another option could be to use Excel and my [AddIn](https://github.com/didikunz/CasparCGAddIn) to get to the data.

---

<div class="post-metadata">

**Author:** ![abuislam](https://casparcgforum.org/letter_avatar_proxy/v4/letter/a/e9a140/32.png) [@abuislam](https://casparcgforum.org/u/abuislam)\
**Post date:** [August 10, 2024, 6:28am UTC](https://casparcgforum.org/t/how-to-cut-and-display-part-of-the-external-website/5036/6 "2024-08-10T06:28:25Z")

</div>

Interesting idea! You could use an iframe to embed the specific section or apply custom CSS to show only the desired div[.](https://surah-al-waqiah.com/al-kahf/) Just be sure to check the website’s terms of use!
