tradingview-search-scraper 1.0.0
Web Scraping Library
License: Apache License 2.0

### Title

tradingview Scraper

### Descrption

* With tradingview Scraper you can scrape search results and extract the contents produced by the search result.
* In tradingview scraper it will scrape the data present of the website and give json data which contains the details of the contents on the website.

### JSON sample data
```sh
{
    "Scraper_Screener": {
        "Screener": "Crypto Screener",
        "Screener_TradingView": "Crypto Screener \u2014 Scan Crypto Assets \u2014 TradingView",
        "button_wrap": "1-Month High\n\n\n1-Month Low\n\n\n1-Month Pivot Camarilla P\n\n\n1-Month Pivot Camarilla R1\n\n\n1-Month Pivot Camarilla R2\n\n\n1-Month Pivot Camarilla R3\n\n\n1-Month Pivot Camarilla S1\n\n\n1-Month Pivot Camarilla S2\n\n\n1-Month Pivot Camarilla S3\n\n\n1-Month Pivot Classic P\n\n\n1-Month Pivot Classic R1\n\n\n1-Month Pivot Classic R2\n\n\n1-Month Pivot Classic R3\n\n\n1-Month Pivot Classic S1\n\n\n1-Month Pivot Classic S2\n\n\n1-Month Pivot Classic S3\n\n\n1-Month Pivot DM P\n\n\n1-Month Pivot DM R1\n\n\n1-Month Pivot DM S1\n\n\n1-Month Pivot Fibonacci P\n\n\n1-Month Pivot Fibonacci R1\n\n\n1-Month Pivot Fibonacci R2\n\n\n1-Month Pivot Fibonacci R3\n\n\n1-Month Pivot Fibonacci S1\n\n\n1-Month Pivot Fibonacci S2\n\n\n1-Month Pivot Fibonacci S3\n\n\n1-Month Pivot Woodie P\n\n\n1-Month Pivot Woodie R1\n\n\n1-Month Pivot Woodie R2\n\n\n1-Month Pivot Woodie R3\n\n\n1-Month Pivot Woodie S1\n\n\n1-Month Pivot Woodie S2\n\n\n1-Month Pivot Woodie S3\n\n\n3-Month High\n\n\n3-Month Low\n\n\n3-Month Performance\n\n\n6-Month High\n\n\n6-Month Low\n\n\n6-Month Performance\n\n\n52 Week High\n\n\n52 Week Low\n\n\nAll Time High\n\n\nAll Time Low\n\n\nAroon Down (14)\n\n\nAroon Up (14)\n\n\nAsk\n\n\nAvailable Coins\n\n\nAverage Day Range (14)\n\n\nAverage Directional Index (14)\n\n\nAverage True Range (14)\n\n\nAverage Volume (10 day)\n\n\nAverage Volume (30 day)\n\n\nAverage Volume (60 day)\n\n\nAverage Volume (90 day)\n\n\nAwesome Oscillator\n\n\nBid\n\n\nBollinger Lower Band (20)\n\n\nBollinger Upper Band (20)\n\n\nBull Bear Power\n\n\nChange %\n\n\nChange\n\n\nChange 1h, %\n\n\nChange 1h\n\n\nChange 1m, %\n\n\nChange 1m\n\n\nChange 1M, %\n\n\nChange 1M\n\n\nChange 1W, %\n\n\nChange 1W\n\n\nChange 4h, %\n\n\nChange 4h\n\n\nChange 5m, %\n\n\nChange 5m\n\n\nChange 15m, %\n\n\nChange 15m\n\n\nChange from Open %\n\n\nChange from Open\n\n\nCommodity Channel Index (20)\n\n\nDonchian Channels Lower Band (20)\n\n\nDonchian Channels Upper Band (20)\n\n\nExchange\n\n\nExponential Moving Average (5)\n\n\nExponential Moving Average (10)\n\n\nExponential Moving Average (20)\n\n\nExponential Moving Average (30)\n\n\nExponential Moving Average (50)\n\n\nExponential Moving Average (100)\n\n\nExponential Moving Average (200)\n\n\nFully Diluted Market Cap\n\n\nGap %\n\n\nHigh\n\n\nHull Moving Average (9)\n\n\nIchimoku Base Line (9, 26, 52, 26)\n\n\nIchimoku Conversion Line (9, 26, 52, 26)\n\n\nIchimoku Leading Span A (9, 26, 52, 26)\n\n\nIchimoku Leading Span B (9, 26, 52, 26)\n\n\nKeltner Channels Lower Band (20)\n\n\nKeltner Channels Upper Band (20)\n\n\nLast\n\n\nLow\n\n\nMACD Level (12, 26)\n\n\nMACD Signal (12, 26)\n\n\nMarket Capitalization\n\n\nMomentum (10)\n\n\nMonthly Performance\n\n\nMoving Averages Rating\n\n\nNegative Directional Indicator (14)\n\n\nOpen\n\n\nOscillators Rating\n\n\nParabolic SAR\n\n\nPattern\n\n\nPositive Directional Indicator (14)\n\n\nRate Of Change (9)\n\n\nRating\n\n\nRelative Strength Index (7)\n\n\nRelative Strength Index (14)\n\n\nRelative Volume\n\n\nSimple Moving Average (5)\n\n\nSimple Moving Average (10)\n\n\nSimple Moving Average (20)\n\n\nSimple Moving Average (30)\n\n\nSimple Moving Average (50)\n\n\nSimple Moving Average (100)\n\n\nSimple Moving Average (200)\n\n\nStochastic %D (14, 3, 3)\n\n\nStochastic %K (14, 3, 3)\n\n\nStochastic RSI Fast (3, 3, 14, 14)\n\n\nStochastic RSI Slow (3, 3, 14, 14)\n\n\nSubmarket\n\n\nTotal Coins\n\n\nTraded Volume\n\n\nUltimate Oscillator (7, 14, 28)\n\n\nVolatility\n\n\nVolatility Month\n\n\nVolatility Week\n\n\nVolume\n\n\nVolume Weighted Average Price\n\n\nVolume Weighted Moving Average (20)\n\n\nWeekly Performance\n\n\nWilliams Percent Range (14)\n\n\nYearly Performance\n\n\nYTD Performance\nNo matches"
    },
    "Scraper_repeat_data_0": [
        {
            "control_select_option_wrap_fields_item": "1-Month High"
        }
```

[Click Here for more](https://datakund-scraper.s3.amazonaws.com/datakund_S7E43TQ6GEIMQGQ_json.json)

### Run Scraper
```sh
from tradingview_search_scraper import *
link="https://www.tradingview.com/forex-screener/"
data=run_tradingview_search_scraper(link)
```

### How it works?
* It takes URL of tradingview page with a search keyword to scrape the data.
* It generates the json data which contains the information of the tradingview search result.
* It gives the every detail present inside website in the form of json data.


### Examples
Below are some of the examples of URLs using which you can scrape:

* [Example 1](https://www.tradingview.com/forex-screener/)

* [Example2](https://www.tradingview.com/crypto-screener/)


### Queries/ Feedback
If you have some queries or feedback please contact us at following    
[Telegram](https://t.me/datakund)  
[Email](abhishek@datakund.com)