update_02_oct_2018

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
update_02_oct_2018 [2018/10/02 09:57] kimberlylgupdate_02_oct_2018 [2018/10/02 12:07] (current) kimberlylg
Line 5: Line 5:
 It is contained within a div element with a class attribute named content. I have been using beautiful soup to isolate these chunks, and I have successfully isolated them over the weekend. I hope that by isolating these chunks isolating everything else can follow in an orderly fashion when I output the information to the screen. I did not want to print out all of the user id's or a certain aspect of the tweet all out once without the rest of the information following it, since the user id would have no context, no tweet to tie it to.  It is contained within a div element with a class attribute named content. I have been using beautiful soup to isolate these chunks, and I have successfully isolated them over the weekend. I hope that by isolating these chunks isolating everything else can follow in an orderly fashion when I output the information to the screen. I did not want to print out all of the user id's or a certain aspect of the tweet all out once without the rest of the information following it, since the user id would have no context, no tweet to tie it to. 
  
-Right now am in the process of isolating the user id from the tweetand I found that that information was contained within span element with the class attribute name of usernameWithin that <span class="username u-dir u-textTruncate"...> was the bolded user id+have extracted the username of tweet and its time stamp from sample hash tag search. The method I am using so far has worked with this same sample, but I have not tried it with any other html sample from another twitter hashtag searchEven though I have been working with the same sample, I plan to expand my methods so that I can make it functional across any hashtag found 
 + 
  • update_02_oct_2018.txt
  • Last modified: 2018/10/02 12:07
  • by kimberlylg