![]() You are getting AttributeError: 'list' object has no attribute 'find_all because reading = soup.find("h3",class_="content-body")Īnd readingtext = soup.find("div",class_="content-body")īoth selection select single element and after that you are iterating over them but your previous selection is not a list that's why you are getting such errors.įor j in lect("div.content-body p"): ![]() Readingtext.append(s.get_text(strip=True,separator=" "))Įmbed.add_field(name="Context:", value=readingtext, inline=False) Reading.append(i.get_text(strip=True,separator=" "))Įmbed.add_field(name="Reading:", value=reading,inline=False) Readingtext = soup.find("div",class_="content-body") Reading = soup.find("h3",class_="content-body") Soup = BeautifulSoup(ntent, 'html.parser') Currently when I run my command I am getting back this error: AttributeError: 'list' object has no attribute 'find_all' if anyone has any insight on what I might be doing wrong that would be Daily Reading",guild_ids=)Įmbed=Embed(title="Daily Reading".format(ctx), description="") ![]() And if you quickly stop what you're doing and head over to Neomuna once you see the bot's ping, you shouldn't have any problems getting to the event before the other players in your instance complete it.I am relatively new when it comes to BS4 but I am trying to create a discord bot that pulls back the information for this page but I am struggling with inputing the right data path. If it spots one, it immediately sends out a notification that the event is starting, giving everyone in the server a helpful heads up. The bot - aptly named "Asher Mir" in a Discord server called the "Vex Network" - works by scanning Neomuna's map around the clock and using image recognition to check for a Vex Strike Force event node. Thanks to a new Discord bot created by Reddit user u/Buuz135, though, it's now easier than ever to keep track when the Vex Strike Force starts and jump in right away. ![]() However, since most people don't have the time to sit in Orbit all day and watch Neomuna's map for an indication that a Vex Strike Force is spawning, many players end up missing them. Since this event always goes live globally across all Destiny 2 servers whenever it starts, every player in the game has a chance to profit off of it. It's a fairly tough battle since it involves fighting through huge waves of Vex forces and multiple boss-class Minotaurs, but if you emerge victorious, you'll get a guaranteed Exotic armor drop. About once every hour or so, there's a chance that Vex enemies will launch a heavy assault within Neomuna's current Vex Incursion Zone. One of the most lucrative activities added in the Destiny 2: Lightfall expansion is the Vex Strike Force, a unique Public Event-style encounter on the DLC's new Neomuna location. It's also possible to forward the bot's notifications to your own server using Discord's "Follow" feature.Since Exotics are a huge part of Destiny 2 builds, using this bot to farm them is a great idea.The link to the server the bot is in is below. A fan has created a Discord bot that automatically pings you whenever the event begins, giving you ample time to log into the game and participate.However, since its hard to keep track of when it spawns, many players can't farm it effectively. The Vex Strike Force event in Destiny 2 drops a guaranteed piece of Exotic armor when completed.
0 Comments
Leave a Reply. |