Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

WARNING: DEPRECATED

This repository is deprecated. Please use this one instead: AutoCiteV2. Thank you <3 We decided to make this change because we want to have a web UI for the tool. Instead of updating the repository, I simply made a new one. This is because this is the bare bones, and I could see why someone would want this, instead of using a flask server, with a web UI. We understand that this might be better to work on instead of figuring out how our stuff works. We will no longer work on this repo, thank you.

https://github.com/Dynamic155/AutoCiteV2

AutoCitation

Generate Harvard-style references for web pages. Given a list of URLs, it fetches each page, extracts relevant metadata (like title, author, and publication date), and formats it into a reference. The references are then written to an output file.

Features

  • Fetches web pages using the provided URLs.
  • Extracts title, author, and publication date from the web pages.
  • Formats the extracted information into Harvard-style references.
  • Writes the references to an output file.

Requirements

  • Python 3.x
  • requests library
  • beautifulsoup4 library

You can install the required libraries using pip:

pip install requests beautifulsoup4

Usage

  1. Prepare the input file: Create a file named urls.txt in the same directory as the script, or just clone the repository. Then list each URL you want to process on a new line.

  2. Run the script: Execute the script by running the following command in your terminal:

    python autocite.py
  3. Check the output: The generated references will be written to a file named references.txt in the same directory.

Example

urls.txt

https://example.com/article1
https://example.com/article2

Generated references.txt

Doe, J. (2020) Example Article 1. Available at: https://example.com/article1 (Accessed: 27 May 2024).

Smith, A. (2021) Example Article 2. Available at: https://example.com/article2 (Accessed: 27 May 2024).

Thank you for using

If you found this tool helpful please star the repository <3

Contributing

If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request.

About

Basic Harvard-like citations for websites.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages