Giter Club home page Giter Club logo

tia's People

Contributors

dependabot[bot] avatar umitkaanusta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tia's Issues

How to run scrape_user.py?

@umitkaanusta I cloned the repository and use it as CWD. The README barely elaborates on how to run the script, which is why I opened the issue. Let me walk you through my process.

  1. Clone the repository
    git clone https://github.com/umitkaanusta/TIA

  2. Change directory into repository
    cd TIA

  3. Install required packages from pip
    pip install -r requirements.txt

  4. At this point I should be ready to run the script.

  5. Change directory into tia/stalk
    cd tia/stalk

  6. Open up scrape_user.py in text editor.
    micro scrape_user.py

  7. Instructions in the bottom of the file are as follows:

        \# Create a user instance with the username, like uka = User("umitkaanusta")
        \# Then scrape_user(uka)
    
    
  8. (This is where the confusion begins.) I Add the following to the top of the file below the import statements.
    user = User("some_username")
    scrape_user(user)

  9. Save and close out editor.

  10. Execute the scrape_user.py script.
    python3 scrape_user.py

  11. I receive the following error:

Traceback (most recent call last): File "scrape_user.py", line 1, in from tia.stalk import URL_ROOT ModuleNotFoundError: No module named 'tia.stalk'

conclusion

What am I doing wrong? Why is this not working?

Was this written in Windows by any chance?

Originally posted by @anoduck in #3 (comment)

Dependencies

Create a requirements.txt file for other developers to be able to run locally.
And, optionally, add dependencies section to README.md

A little help running the initial script for scraping: scrape_user.py

Barely a novice programming python, and I am a little lost on how exactly the script is intended to be run. I opened up pycharm and attempted to add the variable then execute the script with the python console:

usr = User(some_user)
scrape_user(usr)

As you probably surmised this did not work in the least. Then I added the variable user = "some_user", then attempted to execute the script and this did not work as well. Adding user = User("some_user") failed as well. So, I am lost as to how exactly this is supposed to be run. A little help would be greatly appreciated.

What earthly use you can make of TIA

Hey folks, it's been a while and the dependency twint (used to scrape Twitter) does not work anymore, and the official Twitter API is quite expensive. So, TIA won't work anymore.

But if you get ahold of some twitter data, you can use the models/methods here as a first step (the gender model is quite basic but still decent). The webpage on flask could also be helpful if you need some boilerplate code to visualize your results.

It was my first hit project on GH, surely learned a lot, and thank you for your support!

All the best,
Umit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.