معرفی شرکت ها


aio-feedfinder2-0.3.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Find the feed URLs for a website.
ویژگی مقدار
سیستم عامل -
نام فایل aio-feedfinder2-0.3.0
نام aio-feedfinder2
نسخه کتابخانه 0.3.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Sergei Maertens, Dan Foreman-Mackey
ایمیل نویسنده sergeimaertens@gmail.com, foreman.mackey@gmail.com
آدرس صفحه اصلی https://github.com/sergei-maertens/feedfinder2
آدرس اینترنتی https://pypi.org/project/aio-feedfinder2/
مجوز MIT
aio-feedfinder2 =============== This is an asynchronous Python library for finding links feeds on a website. It is based on the synchronous (``requests`` based) ``feedfinder2``, written by `Dan Foreman-Mackey <https://github.com/dfm>`_, which is based on `feedfinder <http://www.aaronsw.com/2002/feedfinder/>`_ - originally written by `Mark Pilgrim <http://en.wikipedia.org/wiki/Mark_Pilgrim_(software_developer)>`_ and subsequently maintained by `Aaron Swartz <http://en.wikipedia.org/wiki/Aaron_Swartz>`_ until his untimely death. Usage ----- Feedfinder2 offers a single public function: ``find_feeds``. You would use it as following:: import asyncio from aio_feedfinder2 import find_feeds loop = asyncio.get_event_loop() task = asyncio.ensure_future(find_feeds("xkcd.com")) feeds = loop.run_until_complete(future) Now, ``feeds`` is the list: ``['http://xkcd.com/atom.xml', 'http://xkcd.com/rss.xml']``. There is some attempt made to rank feeds from best candidate to worst but... well... you never know. This ``asyncio`` variant is ideally suited to find feeds on multiple domains/ sites in an asynchronous way:: import asyncio from aio_feedfinder2 import find_feeds loop = asyncio.get_event_loop() tasks = [find_feeds(url) for url in ["xkcd.com", "abstrusegoose.com"]] feeds = loop.run_until_complete(asyncio.gather(*tasks)) >>> feeds ... [ ... ['http://xkcd.com/atom.xml', 'http://xkcd.com/rss.xml'], ... ['http://abstrusegoose.com/feed.xml', 'http://abstrusegoose.com/atomfeed.xml'] ... ] License ------- Feedfinder2 is licensed under the MIT license (see LICENSE).


نحوه نصب


نصب پکیج whl aio-feedfinder2-0.3.0:

    pip install aio-feedfinder2-0.3.0.whl


نصب پکیج tar.gz aio-feedfinder2-0.3.0:

    pip install aio-feedfinder2-0.3.0.tar.gz