{"id":18413176,"url":"https://github.com/pybites/packtebooks","last_synced_at":"2025-04-07T11:32:20.547Z","repository":{"id":78378255,"uuid":"94417000","full_name":"pybites/packtebooks","owner":"pybites","description":"Script to manage your ebook (downloads) from command line","archived":false,"fork":false,"pushed_at":"2017-06-15T10:56:50.000Z","size":129,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T17:11:38.356Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pybites.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-06-15T08:19:43.000Z","updated_at":"2022-05-25T18:27:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"a392bcf9-29fa-480d-8da7-c89fbf18651c","html_url":"https://github.com/pybites/packtebooks","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/pybites%2Fpacktebooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybites%2Fpacktebooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybites%2Fpacktebooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybites%2Fpacktebooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pybites","download_url":"https://codeload.github.com/pybites/packtebooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247644670,"owners_count":20972338,"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-11-06T03:45:03.744Z","updated_at":"2025-04-07T11:32:20.542Z","avatar_url":"https://github.com/pybites.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Packt Ebook Download Manager\n\nFor the [Packt free learning challenge](https://pybit.es/codechallenge22.html) I'd like: \n\n1. Notification mail or tweet (TODO)\n\n2. Download manager\n\n3. Auto-add new books (captcha, kinda game over)\n\nI tackled number 2 first, here is [my first go](https://github.com/pybites/100DaysOfCode/blob/master/072/packt.py). \n\nWow login with requests is easy! Thanks Julian for [reminding me](https://pybit.es/requests-session.html).\n\n### Example\n\n\t$ python packt.py\n\tPACKT DOWNLOAD MANAGER\n\n\tLogging in\n\tRetrieving books\n\n\tSeach for a book (q for exit): dta\n\tNo matches, try again\n\n\tSeach for a book (q for exit): data\n\t1) Learning Data Mining with Python [eBook]\n\t2) R Data Visualization Cookbook [eBook]\n\t3) Practical Data Science Cookbook [eBook]\n\t4) Data Analysis with R [eBook]\n\t5) ASP.NET Data Presentation Controls Essentials [eBook]\n\t6) Implementing Splunk: Big Data Reporting and Development for Operational Intelligence [eBook]\n\tChoose book (n for new search): 1\n\t1) https://www.packtpub.com/ebook_download/21201/pdf\n\t2) https://www.packtpub.com/ebook_download/21201/epub\n\t3) https://www.packtpub.com/ebook_download/21201/mobi\n\tChoose url (c to cancel): 1\n\tDownloading https://www.packtpub.com/ebook_download/21201/pdf\n\tSaving to /Users/bbelderb/Documents/books/Packt/learning-data-mining-with-python.pdf\n\tChoose book (n for new search): n\n\n\tSeach for a book (q for exit): python\n\t1) Expert Python Programming - Second Edition [eBook]\n\t2) Modern Python Cookbook [eBook]\n\t3) Python GUI Programming Cookbook [eBook]\n\t4) What You Need to Know about Python [eBook]\n\t5) Raspberry Pi Cookbook for Python Programmers [eBook]\n\t6) Learning Python Application Development [eBook]\n\t7) Learning Robotics Using Python [eBook]\n\t...\n\tmany more (thanks Packt!)\n\t...\n\tChoose book (n for new search): 1\n\t1) https://www.packtpub.com/ebook_download/25257/pdf\n\t2) https://www.packtpub.com/ebook_download/25257/epub\n\t3) https://www.packtpub.com/ebook_download/25257/mobi\n\tChoose url (c to cancel): 3\n\tDownloading https://www.packtpub.com/ebook_download/25257/mobi\n\tSaving to /Users/bbelderb/Documents/books/Packt/expert-python-programming-second-edition.mobi\n\tChoose book (n for new search): 22\n\t1) https://www.packtpub.com/ebook_download/20125/pdf\n\t2) https://www.packtpub.com/ebook_download/20125/epub\n\t3) https://www.packtpub.com/ebook_download/20125/mobi\n\tChoose url (c to cancel): 1\n\tDownloading https://www.packtpub.com/ebook_download/20125/pdf\n\tSaving to /Users/bbelderb/Documents/books/Packt/functional-python-programming.pdf\n\tChoose book (n for new search): n\n\n\tSeach for a book (q for exit): postgres\n\t1) PostgreSQL 9 Admin Cookbook [eBook]\n\t2) Learning PostgreSQL [eBook]\n\tChoose book (n for new search): 2\n\t1) https://www.packtpub.com/ebook_download/22041/pdf\n\t2) https://www.packtpub.com/ebook_download/22041/epub\n\t3) https://www.packtpub.com/ebook_download/22041/mobi\n\tChoose url (c to cancel): 1\n\tDownloading https://www.packtpub.com/ebook_download/22041/pdf\n\tSaving to /Users/bbelderb/Documents/books/Packt/learning-postgresql.pdf\n\tChoose book (n for new search): 1\n\t1) https://www.packtpub.com/ebook_download/6088/pdf\n\t2) https://www.packtpub.com/ebook_download/6088/epub\n\t3) https://www.packtpub.com/ebook_download/6088/mobi\n\tChoose url (c to cancel): c\n\tChoose book (n for new search): n\n\n\tSeach for a book (q for exit): science\n\t1) Practical Data Science Cookbook [eBook]\n\tChoose book (n for new search): n\n\n\tSeach for a book (q for exit): machine\n\t1) Practical Machine Learning [eBook]\n\t2) Machine Learning with R - Second Edition [eBook]\n\t3) Machine Learning with Spark [eBook]\n\t4) Python Machine Learning [eBook]\n\t5) Building Machine Learning Systems with Python [eBook]\n\tChoose book (n for new search): 6\n\tWrong input, please try again\n\tChoose book (n for new search): f\n\tWrong input, please try again\n\tChoose book (n for new search): 5\n\t1) https://www.packtpub.com/ebook_download/11703/pdf\n\t2) https://www.packtpub.com/ebook_download/11703/epub\n\t3) https://www.packtpub.com/ebook_download/11703/mobi\n\tChoose url (c to cancel): 1\n\tDownloading https://www.packtpub.com/ebook_download/11703/pdf\n\tSaving to /Users/bbelderb/Documents/books/Packt/building-machine-learning-systems-with-python.pdf\n\tChoose book (n for new search): n\n\tSeach for a book (q for exit): q\n\tBye\n\nFinder:\n\n![downloasds](out-folder.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybites%2Fpacktebooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpybites%2Fpacktebooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybites%2Fpacktebooks/lists"}