Lists of anime in plaintext


I'm trying to find lists of anime by genre in plaintext. Basically, the issue
is that every anime list I can find online (MAL, ANN, Anime Planet) is
stylised in some way, which isn't conducive to copy-pasting. I'd like the
lists in plaintext.




I wrote a small script that operates on the [Wikipedia
page](https://en.wikipedia.org/wiki/Category:Anime_and_manga_by_genre) that
Arcane provided.

[code]

    var anime = "";
    
    $('#mw-pages li').each(function(key, value)
    {
        anime += ($(this).text() + '\n');
    });
    
    // Credit to: http://stackoverflow.com/a/18197341/3571997
    function download(filename, text) 
    {
        var element = document.createElement('a');
        element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
        element.setAttribute('download', filename);
    
        element.style.display = 'none';
        document.body.appendChild(element);
    
        element.click();
    
        document.body.removeChild(element);
    }
    
    download($('#firstHeading').text() + '.txt', anime);
    
[/code]

**How to use:**

  1. Start a browser that can inject JavaScript into a page (I will use Google Chrome for this demonstration).
  2. Navigate to a category on the Wikipage (e.g. <https://en.wikipedia.org/wiki/Category:Fantasy_anime_and_manga>).
  3. Open the developer console (`F12`) and click on the console tab.
  4. Copy and paste the script in there and press `Enter`.
  5. You should now receive a text file with all of the anime of this genre.

**Remarks:**

  * It also lists manga, visual novels etc.
  * Not user friendly.

I shall try to update (and turn it into a userscript) whenever I have more
time on my hands.

