Skip to content

Commit

Permalink
Merge pull request #30 from arpitmisraw/temp
Browse files Browse the repository at this point in the history
Added Arpit's solution to Task 3
  • Loading branch information
mubaris authored Jan 15, 2018
2 parents 20dc3e3 + 3e49167 commit c0bd4e4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Solutions/arpitmisraw/Task3/task3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import requests
from bs4 import BeautifulSoup

url = "https://scirate.com/"
resp = requests.get(url)

html = resp.text
scirate_soup = BeautifulSoup(html)


title = scirate_soup.select('.title a')


href = scirate_soup.select('a.paper-download')



for i in range(len(title)):
print(i+1,". ",title[i].getText(),'\n','Link:',href[i].get('href'),'\n\n')

0 comments on commit c0bd4e4

Please sign in to comment.