This is the repository contains the code for the study The Environmental Impact of COP Websites: An Analysis of UNFCCC COP Host Country Websites (1995-2025). The study evaluates the potential growth and environmental impact of COP host country websites by analysing the size and composition of webpages archived through the Wayback Machine, using a proposed method for this analysis.
The Python script developed for this study utilises Playwright to load pages within Chromium and capture resource sizes. Since the Wayback Machine's API for viewing unmodified webpages does not account for content delivered by third parties or CDNs, it was not possible to use it for calculating the total webpage size. We account for the additional size introduced by the Wayback Machine's archiving process, as well as the resources and scripts included by the Wayback Machine (see Section 4.7) that may not have been present on the original site.
- Python installed on your machine.
-
Clone the Repository:
git clone https://github.com/overbrowsing/cop-study cd cop-study
-
Install Dependencies:
pip install -r requirements.txt
-
Install Playwright:
playwright install
-
Run the Python Scripts:
run.py
: This script calculates the size of each webpage listed in thedataset.csv
file and saves the results as a CSV file titledresults.csv
, located in thedata
directory. The script will also generate a chart based on the final CO₂e emissions results.python run.py
The URLs of COP host country websites were retrieved using the Wayback Machine, regardless of whether the site was still active. The earliest available snapshot from the event's start date was selected, or the closest alternative if none was available, excluding those marked as green in the Wayback Machine interface, which indicate redirects (3xx). The snapshot date was recorded in the dataset. This approach ensures that websites are assessed at their peak operational state, as some may be updated throughout the conference. For instance, the COP28 host country website was modified following scrutiny.
Attendee figures are sourced from the UNFCCC's COP in-session participant data.
COP | Host Country | Event Date | Attendees | COP Host Country Website | Still Active? |
---|---|---|---|---|---|
COP1 | 🇩🇪 Berlin, Germany | 28.03.1995 - 07.04.1995 | 3,969 | No website found | No website found |
COP2 | 🇨🇭 Geneva, Switzerland | 08.07.1996 - 19.07.1996 | 1,584 | No website found | No website found |
COP3 | 🇯🇵 Kyoto, Japan | 01.12.1997 - 11.12.1997 | 9,850 | Snapshot 04.06.2003 | Yes |
COP4 | 🇦🇷 Buenos Aires, Argentina | 02.11.1998 - 13.11.1998 | 4,941 | Snapshot 01.10.2003 | Yes |
COP5 | 🇩🇪 Bonn, Germany | 25.10.1999 - 05.11.1999 | 4,188 | Snapshot 18.06.2003 | Yes |
COP6 | 🇳🇱 The Hague, Netherlands | 13.11.2000 - 24.11.2000 | 6,994 | Snapshot 05.06.2003 | Yes |
COP7 | 🇲🇦 Marrakech, Morocco | 29.10.2001 - 10.11.2001 | 4,460 | Snapshot 19.11.2001 | Yes |
COP8 | 🇮🇳 New Delhi, India | 23.10.2002 - 01.11.2002 | 4,352 | Snapshot 09.12.2002 | Yes |
COP9 | 🇮🇹 Milan, Italy | 01.12.2003 - 12.12.2003 | 5,151 | Snapshot 27.11.2003 | Yes |
COP10 | 🇦🇷 Buenos Aires, Argentina | 06.12.2004 - 17.12.2004 | 6,151 | Snapshot 04.12.2024 | No |
COP11 | 🇨🇦 Montreal, Canada | 28.11.2005 - 09.12.2005 | 9,474 | Snapshot 12.02.2006 | No |
COP12 | 🇰🇪 Nairobi, Kenya | 06.11.2006 - 17.11.2006 | 5,948 | Snapshot 05.11.2006 | No |
COP13 | 🇮🇩 Bali, Indonesia | 03.12.2007 - 15.12.2007 | 10,829 | Snapshot 24.12.2007 | No |
COP14 | 🇵🇱 Poznań, Poland | 01.12.2008 - 12.12.2008 | 9,249 | Snapshot 02.12.2008 | No |
COP15 | 🇩🇰 Copenhagen, Denmark | 07.12.2009 - 18.12.2009 | 27,294 | Snapshot 09.12.2009 | No |
COP16 | 🇲🇽 Cancún, Mexico | 29.11.2010 - 10.12.2010 | 11,848 | Snapshot 07.12.2010 | No |
COP17 | 🇿🇦 Durban, South Africa | 28.11.2011 - 09.12.2011 | 13,397 | Snapshot 28.11.2011 | No |
COP18 | 🇶🇦 Doha, Qatar | 26.11.2012 - 08.12.2012 | 9,004 | Snapshot 27.11.2012 | No |
COP19 | 🇵🇱 Warsaw, Poland | 11.11.2013 - 23.11.2013 | 8,375 | Snapshot 23.11.2013 | No |
COP20 | 🇵🇪 Lima, Peru | 01.12.2014 - 12.12.2014 | 11,175 | Snapshot 01.12.2014 | No |
COP21 | 🇫🇷 Paris, France | 30.11.2015 - 12.12.2015 | 28,187 | Snapshot 10.12.2015 | No |
COP22 | 🇲🇦 Marrakech, Morocco | 07.11.2016 - 18.11.2016 | 22,564 | Snapshot 16.11.2016 | No |
COP23 | 🇫🇯 Fiji (Hosted by Germany) | 06.11.2017 - 17.11.2017 | 16,028 | Snapshot 08.11.2017 | No |
COP24 | 🇵🇱 Katowice, Poland | 02.12.2018 - 14.12.2018 | 18,856 | Snapshot 02.12.2018 | No |
COP25 | 🇪🇸 Spain (Hosted by Chile) | 02.12.2019 - 13.12.2019 | 22,354 | Snapshot 06.12.2019 | No |
COP26 | 🏴 Glasgow, Scotland | 31.10.2021 - 12.11.2021 | 30,501 | Snapshot 31.10.2021 | No 🌱 |
COP27 | 🇪🇬 Sharm El-Sheikh, Egypt | 06.11.2022 - 18.11.2022 | 36,674 | Snapshot 06.11.2022 | No 🌱 |
COP28 | 🇦🇪 Dubai, United Arab Emirates | 30.11.2023 - 12.12.2023 | 70,002 | Snapshot 30.11.2023 | No 🌱 |
COP29 | 🇦🇿 Baku, Azerbaijan | 11.11.2024 - 22.11.2024 | 40,335 | Snapshot 11.11.2024 | Yes 🌱 |
COP30 | 🇧🇷 Belém, Brazil | 10.11.2025 — 21.11.2025 | N/A | Snapshot 21.02.2025 | Yes |
🌱 Marks websites hosted on renewable energy, checked via The Green Web Foundation or inferred from available sources.
Contributions are welcome. Please feel free to submit an issue or a pull request.
cop-study is released under the MIT license. Feel free to use and modify it as needed.