Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit 14fcb0a

Browse files
Update main.py
1 parent ff1f24f commit 14fcb0a

File tree

1 file changed

+2
-1
lines changed
  • Scripts/Web_Scrappers/Rocket-Schedule

1 file changed

+2
-1
lines changed

‎Scripts/Web_Scrappers/Rocket-Schedule/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
r = requests.get(URL)
1818

1919
soup = BeautifulSoup(r.content, 'html.parser')
20-
f = soup.find_all("h4", {"itemprop": "name"})
20+
soup.find('div', id="upcoming_launches_header").decompose()
21+
f = soup.find_all("h4")
2122
f1 = soup.find_all("div", {"class": "launch_date rlt_date"})
2223
f2 = soup.find_all("div", {"class": "rlt-provider"})
2324
f3 = soup.find_all("div", {"class": "rlt-location"})

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /