### Install CocoScrapers Repository Configuration (addon.xml) Source: https://context7.com/cocojoe2411/repository.cocoscrapers/llms.txt This XML defines the repository addon for Kodi, specifying where to find addon information and updates. Ensure Kodi version 19.0 or higher is used. ```xml https://raw.githubusercontent.com/not-coco-joe/repository.cocoscrapers/master/zips/addons.xml https://raw.githubusercontent.com/not-coco-joe/repository.cocoscrapers/master/zips/addons.xml.md5 https://raw.githubusercontent.com/not-coco-joe/repository.cocoscrapers/master/zips/ all CocoScrapers Repository Unofficial add-ons repository ``` -------------------------------- ### Access CocoScrapers Module Path and Import Source: https://context7.com/cocojoe2411/repository.cocoscrapers/llms.txt This code snippet demonstrates how to get the path of the CocoScrapers addon and add its 'lib' directory to the Python path for importing modules. Ensure the 'script.module.cocoscrapers' addon is installed. ```python cocoscrapers_addon = xbmcaddon.Addon('script.module.cocoscrapers') cocoscrapers_path = cocoscrapers_addon.getAddonInfo('path') import sys sys.path.insert(0, cocoscrapers_path + '/lib') # Now you can import CocoScrapers components # from cocoscrapers import scraper_module ``` -------------------------------- ### Fetch Repository Metadata with cURL Source: https://context7.com/cocojoe2411/repository.cocoscrapers/llms.txt These bash commands demonstrate how to fetch the addons manifest and its checksum, and download a specific version of the scraper module using cURL. ```bash # Fetch the addons.xml manifest curl -s https://raw.githubusercontent.com/not-coco-joe/repository.cocoscrapers/master/zips/addons.xml # Verify manifest checksum curl -s https://raw.githubusercontent.com/not-coco-joe/repository.cocoscrapers/master/zips/addons.xml.md5 # Download a specific version of the module curl -LO https://raw.githubusercontent.com/not-coco-joe/repository.cocoscrapers/master/zips/script.module.cocoscrapers/script.module.cocoscrapers-1.0.32.zip ``` -------------------------------- ### Import CocoScrapers Module in Python Code Source: https://context7.com/cocojoe2411/repository.cocoscrapers/llms.txt This Python code snippet demonstrates how to import the necessary Kodi addon module to access its functionalities within your Kodi addon. ```python import xbmcaddon ``` -------------------------------- ### CocoScrapers Module Configuration (addon.xml) Source: https://context7.com/cocojoe2411/repository.cocoscrapers/llms.txt This XML defines the main scraper module addon for Kodi. It specifies dependencies on Python 3.0 and the requests module, and declares it as a Python plugin source and service. ```xml executable false CocoScrapers Module A module that can be used to provide site scrapers. all GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007 icon.png fanart.png ``` -------------------------------- ### Declare CocoScrapers Module Dependency in Kodi Addon Source: https://context7.com/cocojoe2411/repository.cocoscrapers/llms.txt This XML snippet shows how to declare the CocoScrapers module as a dependency in another Kodi addon's `addon.xml` file, ensuring it's available for use. ```xml ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.