{"id":16778332,"url":"https://github.com/deeplook/freebora","last_synced_at":"2025-07-13T05:38:26.626Z","repository":{"id":66092338,"uuid":"73603729","full_name":"deeplook/freebora","owner":"deeplook","description":"Download free ebooks from O'Reilly.","archived":false,"fork":false,"pushed_at":"2017-09-24T09:33:05.000Z","size":329,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T18:12:50.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deeplook.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-13T08:20:39.000Z","updated_at":"2018-09-17T19:59:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"5504337f-ea64-4489-b3b2-d428b34d2ba2","html_url":"https://github.com/deeplook/freebora","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeplook%2Ffreebora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeplook%2Ffreebora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeplook%2Ffreebora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeplook%2Ffreebora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deeplook","download_url":"https://codeload.github.com/deeplook/freebora/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248293925,"owners_count":21079750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T07:27:26.307Z","updated_at":"2025-04-10T20:43:23.336Z","avatar_url":"https://github.com/deeplook.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Fetch Free O'Reilly eBooks\n==========================\n\n.. image:: https://github.com/deeplook/freebora/raw/master/header.png\n    :width: 100 %\n    :align: center\n\t\t    \nThis is a tool for downloading `free O'Reilly ebooks`_ of different categories\nfrom the remains of what used to be the O'Reilly online shop (before it morphed\ninto a book and video streaming service).\nWhile you can, of course, download these free ebooks directly online, it's not\nexactly easy to download a whole bunch of them more quickly.\n\n``freebora`` does not use ``scrapy`` on purpose (partly to avoid a\nconfiguration fest), but works in two phases:\n\n1. crawl the online site to compile a list of URLs for PDF files\n   to download, and\n2. download all files from the list created in 1.\n\nStep 1 is done sequentially (for now), while for step 2 you can choose\nbetween a sequential and a parallel version using ``requests`` and\n``aiohttp``, respectively.\n\nSee the files in the ``docs/sessions`` folder for some use-cases of varying\nsizes.\n\n\nInstallation\n------------\n\nYou can install ``freebora`` with a simple ``pip install freebora`` from\nthe `Python Package Index`_, or after cloning or downloading this code from\nGitHub_ and running ``python3 setup.py install`` in its root directory.\nAt the moment it is intended to work only on Python 3 only.\n\n\nTests\n-----\n\nYou can run the (pretty small) test suite like this:\n\n.. code-block:: console\n\n    # using py.test (needs a pip install pytest):\n    py.test -v tests\n\n    # using a minified version of py.test, included in runtests.py:\n    python3 setup.py test\n\nIndividual tests can be run like this:\n\n.. code-block:: console\n\n    py.test -s tests/test_oreilly_shop.py\n\n\nTodo\n----\n\n- add an async version of the function to collect URLs (step 1 above)\n- improve command-line interface\n- add feature to download not only PDFs, but other formats, too\n- add feature to interactively select individual ebooks to download\n\n\n.. _free O'Reilly ebooks: http://www.oreilly.com/free/\n.. _Python Package Index: https://pypi.python.org/pypi/freebora\n.. _GitHub: https://github.com/deeplook/freebora\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeplook%2Ffreebora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeeplook%2Ffreebora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeplook%2Ffreebora/lists"}