Giter Club home page Giter Club logo

twsearchenabled's People

Contributors

mpfarmer avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

twsearchenabled's Issues

Adding the ability to scrape "restricted" accounts

Is it possible to scrape tweets that are unsearchable e.g. https://twitter.com/jackiec57 ?

To remove the need to click "show sensitive content anyways", it would need to...

  1. Login just like https://gist.github.com/momota10/969d904b4cad239da2a5c00df1ad87e7
  2. Go to https://twitter.com/settings/safety
  3. Check the "show sensitive" box in
    <input name="search-settings-nsfw" checked="" class="SearchSettings-toggleInput SearchSettings-toggleInput--sensitive" type="checkbox">
  4. click "submit" in <button id="settings_save" class="EdgeButton EdgeButton--primary EdgeButton--medium" type="submit" disabled="">Save changes</button>
    To scrape the content after the settings are, done, repeat #1 and then go to the twitter profile.

Error selenium [winerror 2]

Hi! I'm quite new to programming and i get the following error:
Could anyone please help to fix this :)?

Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\nlkroe03\Python\lib\site-packages\selenium\webdriver\common\service.py", line 74, in start
stdout=self.log_file, stderr=self.log_file)
File "C:\Users\nlkroe03\Python\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "C:\Users\nlkroe03\Python\lib\subprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\nlkroe03\Python\lib\threading.py", line 916, in _bootstrap_inner
self.run()
File "C:\Users\nlkroe03\Python\lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "C:/Users/nlkroe03/Desktop/Afstuderen/python/Twitter old tweets/TwSearchEnabled-master/tweetsearch.py", line 39, in getTweet
browser = webdriver.Firefox()
File "C:\Users\nlkroe03\Python\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 144, in init
self.service.start()
File "C:\Users\nlkroe03\Python\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.

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.