Clueless-Community / scrape-up

A web-scraping-based python package that enables you to scrape data from various platforms like GitHub, Twitter, Instagram, or any useful website.
https://pypi.org/project/scrape-up/
MIT License
243 stars 247 forks source link

Adding Cryptocurrency prices scraping support to finance module #327

Closed brohithkr closed 11 months ago

brohithkr commented 1 year ago

Describe the feature

I want to add cyptocurrency scraping support to finance module. This would enable StockPrice class to scrape latest price and historical price of all cryptocurrencies from crypto.com. I would create a crypto.py file and CRYPTO class then intergrate CRYPTO class into StockPrice class

Add ScreenShots

Adding this feature would enable add such functionality to StockPrice class:

solana = StockPrice("solana","crypto")
latest_price = solana.get_latest_price()
historical_price = solana.get_historical_data("05-06-2023","10-06-2023")

(would surely add screenshots after completing the feature)

Record

brohithkr commented 1 year ago

The BSE class is not giving results when multiple requests are made. I would also try to fix this problem under this issue.

nikhil25803 commented 1 year ago

Go ahead @brohithkr Note

brohithkr commented 1 year ago

@nikhil25803 I'm thinking to add this feature to finance module. So I am thinking to add crypto.py inside finance module and you can use CRYPTO class by putting stock_index parameter of StockPrice class as "crypto" instead of "nse" or "nasdaq". What do you think about this ?