How to query Al Jazeera with AgentQL
Looking for a better way to query Al Jazeera? Say goodbye to fragile XPath or DOM selectors that easily break with website updates. AI-powered AgentQL ensures consistent data querying across various platforms, from Al Jazeera to any other website, regardless of UI changes.
Not just for Al Jazeera
Smart selectors work anywhere
https://aljazeera.com
URL
Input any webpage.
{
top_stories[] {
title
link
date
summary
}
}
Query
Describe data in natural language.
{
"top_stories": [
{
"title": "Egypt sentences 529 to death in Rabaa massacre retrial",
"link": "https://www.aljazeera.com/news/2024/6/27/egypt-sentences-529-to-death-in-rabba-massacre-retrial",
"date": "2024-06-27",
"summary": "An Egyptian court has sentenced 529 people to death in a retrial of the Rabaa massacre case, in which hundreds of supporters of ousted President Mohamed Morsi were killed in 2013."
}
]
}
Returns
Receive accurate output in seconds.
How to use AgentQL on Al Jazeera



1
Install the SDK
Install code for JS and Python
npm install agentql
pip3 install agentql
3
Run your script
Install code for both JS and Python
agentql init
python example.py
More Websites to Query
Get started
Holds no opinions on what’s and how’s. Build whatever makes sense to you.