Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Biography field brings own bio #153

Open
matiastiberio opened this issue Jan 27, 2022 · 0 comments
Open

Biography field brings own bio #153

matiastiberio opened this issue Jan 27, 2022 · 0 comments

Comments

@matiastiberio
Copy link

Hi!

I'm currently trying to scrape the bio of the page I'm redirecting but instead is bringing my own profile bio:

google = Profile('https://www.instagram.com/fiat_planes/')

google.scrape(headers=headers)

page_data = []

page_data.append(google.biography)
page_data.append(google.followers)
page_data.append(google.posts)
page_data.append(google.username)
df = pd.DataFrame({'Bio':page_data[0], 'Followers':page_data[1], 'Posts':page_data[2], 'Username':page_data[3]}, index=[0])
print(df)

Result:

                                  Bio  Followers  Posts     Username

0 Cause I know 狂い出した未来\n悪夢すら平凡 リセット リセット 346 105 fiat_planes

The bio is the only thing that tracks down from my own profile. Followers, posts and username is from the URL profile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant