Code Monkey home page Code Monkey logo

ao3-scraper---archivist's Introduction

Ao3-Scraper - Archivist

In progress application for webscraping Archive of Our Own Data.

Dependencies:

  • pandas
  • bs4
  • requests
  • time
  • Tkinter

Current Functionality:

  • can optionally return the following data, given an Ao3 search page URL (for every fic, on as many pages as specified)
    • ID
    • Title
    • Author
    • Date
    • fandom
    • required archive tags
    • optional tags (categorized as: warnings, relationships, characters, and tags)
    • work stats (language, word count, chapters, etc.)
  • returns a list WorkText of First Chapter texts for each ID with WorkTextScraper(WorkIds)
  • can export collected data as a CSV with proper column headers
  • Functionality Example:
    • Say you want to collect data on every She-Ra fic from the past year, but only the ones featuring catradora. at current functionality you would have to use the Ao3 search to specifiy that. then you can take the URL from the first page of results, and enter it in Archivist, while specifying which data you want (kudos, title, comments etc.) and how many pages of fics you want to scrape. then the Archivist can scrape all of that data for you, and you can have Archivist load it all into a nice CSV that you can open up in excel or whatever data tools you enjoy for your analysis.

Future Plans:

  • Enable Scraping ALL metadata, including the name/ids of user who bookmarked or gave kudos to a work
  • Enable Scraping full fics (not just first chapter, as it does now)
  • Finish the GUI interface, currently very primitive and only a quarter-way functional

ao3-scraper---archivist's People

Contributors

kya-allen avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.