{"id":27806,"library":"gherila","title":"Gherila","description":"An async Python package designed to fetch information from different platforms (e.g., Discord, Telegram, Twitter, GitHub). Current version 1.1.9, with monthly releases. Intended for web scraping and social media data extraction.","status":"active","version":"1.1.9","language":"python","source_language":"en","source_url":"https://github.com/br4nch/gherila","tags":["async","scraping","social-media","data-fetching"],"install":[{"cmd":"pip install gherila","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Async HTTP client for API requests","package":"aiohttp","optional":false},{"reason":"HTML parsing for web scraping","package":"beautifulsoup4","optional":false}],"imports":[{"note":"Direct import of fetch function; module-level usage requires this import.","wrong":"import gherila","symbol":"fetch","correct":"from gherila import fetch"},{"note":"","wrong":"","symbol":"Session","correct":"from gherila import Session"}],"quickstart":{"code":"import asyncio\nfrom gherila import fetch\n\nasync def main():\n    data = await fetch('https://api.github.com/repos/br4nch/gherila')\n    print(data)\n\nasyncio.run(main())","lang":"python","description":"Minimal async fetch example using the library."},"warnings":[{"fix":"Convert code to async/await pattern.","message":"The synchronous `fetch_sync` function is removed in v1.1.0+. Use async `fetch` only.","severity":"deprecated","affected_versions":">=1.1.0"},{"fix":"Initialize `Session(headers={'User-Agent': '...'})` and use `session.fetch()`.","message":"`fetch` does not support custom headers by default; pass headers as a dict to `Session`.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace `from gherila.scrape import ...` with `from gherila import fetch`.","message":"The `gherila.scrape` module was removed in v1.1.0. Use `gherila.fetch` instead.","severity":"breaking","affected_versions":">=1.1.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Install gherila >=1.1.0 and use `from gherila import fetch`.","cause":"The scrape submodule was removed in v1.1.0.","error":"ModuleNotFoundError: No module named 'gherila.scrape'"},{"fix":"Use async `fetch` function: `await gherila.fetch(...)`.","cause":"The synchronous fetch_sync function was removed in v1.1.0.","error":"AttributeError: module 'gherila' has no attribute 'fetch_sync'"},{"fix":"Call `await fetch('https://example.com')` or `await fetch(url='https://example.com')`.","cause":"The url parameter must be provided as a positional argument, not keyword.","error":"TypeError: fetch() missing 1 required positional argument: 'url'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}