{"id":18511324,"url":"https://github.com/hasnocool/tradingview-script-downloader","last_synced_at":"2026-02-16T19:39:09.768Z","repository":{"id":176526355,"uuid":"657891944","full_name":"hasnocool/tradingview-script-downloader","owner":"hasnocool","description":"This Python script automates the extraction of PineScript codes from the most popular strategies on TradingView, using Selenium for web navigation and BeautifulSoup for data scraping.","archived":false,"fork":false,"pushed_at":"2024-09-18T10:39:36.000Z","size":16,"stargazers_count":16,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T21:43:38.650Z","etag":null,"topics":["aiohttp","asyncio","indicators","pine","python","scraping","script","scripts","selenium","tradingview","web"],"latest_commit_sha":null,"homepage":"","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/hasnocool.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":"2023-06-24T06:07:14.000Z","updated_at":"2025-04-09T10:25:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"a84f360c-337d-4c1d-93dd-957ac6ff64d5","html_url":"https://github.com/hasnocool/tradingview-script-downloader","commit_stats":null,"previous_names":["hasnocool/tradingviewpinescriptdownloader","hasnocool/tradingview-script-downloader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hasnocool/tradingview-script-downloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Ftradingview-script-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Ftradingview-script-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Ftradingview-script-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Ftradingview-script-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasnocool","download_url":"https://codeload.github.com/hasnocool/tradingview-script-downloader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasnocool%2Ftradingview-script-downloader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29516176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T18:37:19.720Z","status":"ssl_error","status_checked_at":"2026-02-16T18:36:46.920Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aiohttp","asyncio","indicators","pine","python","scraping","script","scripts","selenium","tradingview","web"],"created_at":"2024-11-06T15:28:00.244Z","updated_at":"2026-02-16T19:39:09.742Z","avatar_url":"https://github.com/hasnocool.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Project Title**\n================\nTradingView PineScript Downloader\n\n**Description**\n---------------\nA concurrent web scraper written in Python using Selenium and aiohttp to download PineScripts from TradingView, a popular online community of traders.\n\n**Features**\n------------\n\n*   **Concurrent Page Downloading**: I built this to take advantage of multi-core processors by downloading multiple pages concurrently.\n*   **PineScript Code Extraction**: One cool feature is the ability to extract and save PineScript code from TradingView's script pages, which can then be used for backtesting or other purposes.\n*   **Headless Browsing**: I configured Firefox to run in headless mode using geckodriver, making it possible to scrape content without displaying any browser windows.\n*   **Directory Management**: The project creates a designated directory for storing downloaded PineScripts and checks if files already exist before saving them again.\n\n**Installation**\n----------------\nBefore running the script, make sure you have:\n\n1.  Python installed on your machine (`python --version`)\n2.  `geckodriver` executable in your system's PATH (download from [here](https://github.com/mozilla/geckodriver/releases))\n3.  Required libraries:\n    *   `selenium`\n    *   `aiohttp`\n    *   `BeautifulSoup4`\n\nYou can install them using pip:\n\n```bash\npip install -r requirements.txt\n```\n\n**Usage**\n---------\nRun the script with Python, and it will start downloading PineScripts from TradingView in a concurrent manner. You can adjust the number of concurrent pages by modifying the `num_concurrent_pages` variable.\n\n```python\npython main.py\n```\n\n**Contributing**\n----------------\n\nIf you'd like to contribute or report any issues, feel free to open a pull request on GitHub: [TradingView PineScript Downloader](https://github.com/your-username/tradingview-pinescript-downloader)\n\n**License**\n----------\n\nThis project is licensed under the MIT License. See LICENSE file for details.\n\n**Tags/Keywords**\n-----------------\n\n*   TradingView\n*   PineScript\n*   Web Scraping\n*   Selenium\n*   Aiohttp\n*   Concurrent Downloading","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasnocool%2Ftradingview-script-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasnocool%2Ftradingview-script-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasnocool%2Ftradingview-script-downloader/lists"}