Annulleret

Scraper for myanimelist

I need a scraper for anime list since they were hacked they have been annoying with things. I want to download the anime archive as well as the manga. It seems that nothing I do has any effect and I consider my self an amateur when it comes to code not clueless but there are things that are beyond me. Please let me know if ther is anything that you can do to help me I really hope so. I am not sure how long this should take but I'll stick around if you can get the job done. I have faith that you can find a way. The reason why there is no way right now is that people stoped trying or they scraped the site long ago. I would alo like the content rekated to the anime pages such as the characters dates, future releases and a possibility for updating latter on I tried to find a way into the api but it was no use. FreeBSD# python [url removed, login to view] -c config

Traceback (most recent call last):

File "[url removed, login to view]", line 219, in <module>

generateConfig([url removed, login to view][2])

File "[url removed, login to view]", line 138, in generateConfig

tvshows = [url removed, login to view]()[u'tvshows']

File "/usr/local/lib/python2.7/site-packages/jsonrpclib/[url removed, login to view]", line 276, in __call__

return self.__send(self.__name, kwargs)

File "/usr/local/lib/python2.7/site-packages/jsonrpclib/[url removed, login to view]", line 224, in _request

response = self._run_request(request)

File "/usr/local/lib/python2.7/site-packages/jsonrpclib/[url removed, login to view]", line 242, in _run_request

verbose=self.__verbose

File "/usr/local/lib/python2.7/[url removed, login to view]", line 1264, in request

return self.single_request(host, handler, request_body, verbose)

File "/usr/local/lib/python2.7/[url removed, login to view]", line 1292, in single_request

self.send_content(h, request_body)

File "/usr/local/lib/python2.7/site-packages/jsonrpclib/[url removed, login to view]", line 122, in send_content

[url removed, login to view]()

File "/usr/local/lib/python2.7/[url removed, login to view]", line 954, in endheaders

self._send_output(message_body)

File "/usr/local/lib/python2.7/[url removed, login to view]", line 814, in _send_output

[url removed, login to view](msg)

File "/usr/local/lib/python2.7/[url removed, login to view]", line 776, in send

[url removed, login to view]()

File "/usr/local/lib/python2.7/[url removed, login to view]", line 757, in connect

[url removed, login to view], self.source_address)

File "/usr/local/lib/python2.7/[url removed, login to view]", line 571, in create_connection

raise err

[url removed, login to view]: [Errno 61] Connection refused

FreeBSD# python --version

Python 2.7.3

That was used in the past but it no longer applies as I do not use that program anymore and it no longer works.

from __future__ import unicode_literals, division, absolute_import

import logging

from flexget import plugin

from flexget.utils.cached_input import cached

from [url removed, login to view] import Entry

from [url removed, login to view] import event

log = [url removed, login to view]('myanimelist')

def parse_xml(xml):

from [url removed, login to view] import fromstring

from [url removed, login to view] import ParseError

try:

tree = fromstring(xml)

except ParseError:

[url removed, login to view]('No valid xml found: %s', xml if not [url removed, login to view]() else [url removed, login to view]()[0])

return

except UnicodeEncodeError as exc:

[url removed, login to view]('Unhandled value while parsing xml.\n%s', exc)

return

return [{[url removed, login to view]: [url removed, login to view] for item in elem} for elem in [url removed, login to view]('anime')]

def safe_username(username):

from urllib import always_safe

safe_string = [url removed, login to view]('.', '')

safe_name = ''.join([s for s in username if s in safe_string])

if username != safe_name:

[url removed, login to view]('username can only be made of letters, numbers and _-')

return safe_name

def get_config(config):

""" if config is only a username, turn into a dict """

if isinstance(config, basestring):

config = {'username': config}

return config

class MyAnimeList(object):

"""A simple [url removed, login to view] input plugin for FlexGet.

.

Simple Syntax:

myanimelist: <username>

Advanced Syntax:

myanimelist:

username: <value>

list: <watching|plan to watc

This one is not finished and it is buggyy and it is alo outdated. Thanku

Færdigheder: HTML, HMLT5, Javascript, PHP, Software Arkitektur

Se mere: myanimelist scraper, why do u want this job, parsing input, module archive, logging handler, list get python, job manga, how to get a raise, how to find a net job, python download file, download file python, code sys, raise let, manga anime, jsonrpc, anime site, anime manga, text parsing python, python log file parsing, MyAnimeList, python socket api, xbmc list python, log parsing error python, parsing file python, socket python

Om arbejdsgiveren:
( 0 bedømmelser ) United States

Projekt-ID: #6018640

1 freelancer byder i gennemsnit $35 for dette job

kchg

Hired by the Employer

$35 USD / time
(222 bedømmelser)
8.5