Giter Site home page Giter Site logo

nathanwentworth / anilist-to-mal Goto Github PK

View Code? Open in Web Editor NEW
36.0 4.0 13.0 15 KB

A python tool that will export your Anilist.co anime list for MAL importing

Python 100.00%
anilist anilist-api myanimelist myanimelist-api python anime mal python-requests

anilist-to-mal's Introduction

Anilist to MAL

Anilist to MAL is a simple python tool that lets you export your anime list from AniList to MyAnimeList.

PLEASE NOTE i don't really maintain this anymore! i haven't updated it in ages, so i don't even know if it still works. feel free to make forks and pull requests, and i'll get to issues as they come, but i'm not really actively checking for issues or anything.

Changes of this fork

  • This version allows to export a specific list (with -l option) created in your Anilist profile in order to export only the contents of this list and not full list. (Only implemented for XML format)

Usage

This app requires Python 3 and Python Requests.

Install Python Requests with pip3 install requests.

Once both are installed, run the app with python3 main.py and follow the instructions!

Arguments

In addition to the step-by-step method, you can pass some arguments to the script.

  • -f: set filetype (default xml)

    • options: xml, txt
    • txt will generate a markdown-compatible list format text file
  • -u: set username (default '')

  • -t: set list type (default '')

    • options: anime, manga
  • -n: takes one argument, set the file name to be exported to

  • -s: takes zero arguments, run in silent mode (no non-essential prints)

  • -p: takes zero arguments, show progress while running

  • -l: select a specific list to export of your profile (default '')

anilist-to-mal's People

Contributors

abstractbeliefs avatar aeri avatar nathanwentworth avatar odrling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

anilist-to-mal's Issues

I can't follow these instructions!

Once both are installed, run the app with python3 main.py and follow the instructions!

My Git prompt is just saying that this command doesn't exist. What should I do?

enumerate

It's not really an issue but a tip that in arguments parsing

for loop (lines 65-79)

  • You use enumerate() with start = 0, which is default, you should change it to 1 inasmuch you don't use "index" variable at starting value, always running calculation which are not necessary

Changes

  • argv[index + 1] to argv[index]
  • for index, arg in enumerate(argv): to for index, arg in enumerate(argv, start = 1):

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.