Skip to content

Commit

Permalink
Merge pull request #8 from Vedant950/main
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
mldsveda committed Aug 1, 2021
2 parents e446fa7 + 4f52109 commit 2a67773
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PyScrappy.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def youtube_scrapper(video_sec_url, n_pages):
"""

import youtube
return youtube.scrappi(video_sec_url, n_pages=3)
return youtube.scrappi(video_sec_url, n_pages = n_pages)

############## Wikipedia Scrapper ##############

Expand Down Expand Up @@ -441,7 +441,7 @@ class StockScrapper():

############## Financial details scrapper ##############

def financial_data_scrapper(stock_code):
def financial_data_scrapper(self, stock_code):

"""
Expand Down Expand Up @@ -477,7 +477,7 @@ def financial_data_scrapper(stock_code):

############## Profile details scrapper ##############

def profile_data_scrapper(stock_code):
def profile_data_scrapper(self, stock_code):

"""
Expand Down Expand Up @@ -512,7 +512,7 @@ def profile_data_scrapper(stock_code):

############## Profile details scrapper ##############

def historical_data_scrapper(stock_code, stock_range, stock_interval):
def historical_data_scrapper(self, stock_code, stock_range, stock_interval):

"""
Expand Down

0 comments on commit 2a67773

Please sign in to comment.