Skip to main content

Web Scraping Library

Project description

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

{
    "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

Run Scraper

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:

Queries/ Feedback

If you have some queries or feedback please contact us at following
Telegram
Email

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tradingview_search_scraper-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file tradingview_search_scraper-1.0.0.tar.gz.

File metadata

  • Download URL: tradingview_search_scraper-1.0.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for tradingview_search_scraper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 77f5deff04a1f0852a8315fe57e145094974bd44ef7759a9417993144811b7d6
MD5 9019c5ca76732ba4c95a0f986ed0c3f3
BLAKE2b-256 a54268922436bfd92050e9385b8b48f7f7d3fcd43c0b59eb63a72d0e3a4d02ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page