We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c92f7e commit 8c1a279Copy full SHA for 8c1a279
Anime_Tracker/anime_tracker.py
@@ -10,6 +10,7 @@
10
except ImportError:
11
print('Some modules are not installed! ')
12
13
+# mainly bs4 lib is used for extracting html from web pages
14
15
def details(soup):
16
@@ -18,7 +19,7 @@ def details(soup):
18
19
20
total_episodes = soup.find('div', {'class': 'pure-1 md-1-5'})
21
print("\nTotal number of episodes :\t",
- re.sub("[^0-9]", "", total_episodes.find('span').getText()))
22
+ re.sub("[^0-9]", "", total_episodes.find('span').getText())) # usimg regex for only selecting numbers
23
24
Active_years = soup.find('span', {'class': 'iconYear'})
25
print("\n Years Active (From-To)\t:\t",
0 commit comments