Skip to content

TheGuardian Researcher was made for fetching public available data from theguardian.com on the basis of APIs.

Notifications You must be signed in to change notification settings

DKZPT/TheGuardian-script-for-researchers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Python

About the project

This project enables the extraction of articles from The Guardian newspaper using the API provided by the newspaper, and saves them into a PDF file.

To access the API, you need to request an API key at https://bonobo.capi.gutools.co.uk/register/developer

The limitations of this application are consistent with those of similar applications, as it is confined to the content provided by The Guardian for API use. It may not include certain articles that, for an unknown reason, do not integrate into the API queries. However, for academic purposes, it can be considered that all publicly available articles for external use are made accessible while respecting copyright protection.

Installer

To use it, you should download the "code" or the .py file and install certain Python packages.

pip install requests
pip install reportlab
pip install beautifulsoup4
pip install xhtml2pdf

Citation

Santos, B. R. (2024). TheGuardian Researchers. An application for automated data retrieval on the journal. Source code and releases available at https://github.com/DKZPT/TheGuardian-script-for-researchers.

Licence

Copyright (c) 2024 Rui Bruno Santos

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "code"), to deal in the software without restriction, including, without limitation, the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, and to permit persons to whom the software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the software.

The software is provided "as is," without any warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claims, damages, or other liabilities, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

About

TheGuardian Researcher was made for fetching public available data from theguardian.com on the basis of APIs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages