Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: imperatrona/twitter-scraper
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: masa-finance/twitter-scraper
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 32 files changed
  • 1 contributor

Commits on Sep 26, 2024

  1. Squashed commit of the following:

    commit e7a0858
    Author: Bob Stevens <[email protected]>
    Date:   Tue Sep 24 19:27:57 2024 -0700
    
        Add an example of refactoring the API portion with UserProfile
    
        This commit introduces functions to fetch Twitter user profiles by username or user ID, cache user IDs, and process profile data. It also includes feature configurations, utility functions for JSON conversion, and necessary data types like `Profile` and `LegacyUser`.
    
    commit 2c1fa31
    Author: Bob Stevens <[email protected]>
    Date:   Tue Sep 24 19:25:47 2024 -0700
    
        Refactor authorization functions to external auth package
    
        Consolidated HMAC-SHA1 signing and token fetching logic into the external `auth` package. This centralizes authentication logic to improve maintainability.
    
    commit 101e0d8
    Author: Bob Stevens <[email protected]>
    Date:   Mon Sep 23 21:22:48 2024 -0700
    
        fixed some bugs with the http request and the login flow
    
    commit a1ee53d
    Author: Bob Stevens <[email protected]>
    Date:   Mon Sep 23 17:38:35 2024 -0700
    
        Refactor scraper and login flow to use new http client
    
        Refactored the Scraper struct to use the new httpwrap.Client, replacing the previous http.Client and modifying related methods accordingly. Updated the login flow process to utilise a dedicated Auth package, encapsulating the login steps, simplifying error handling, and improving structure.
    
    commit ceb5e33
    Author: Bob Stevens <[email protected]>
    Date:   Thu Sep 19 07:28:14 2024 -0700
    
        refactoring code into packages. Incremental check in with plenty left to do
    restevens402 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    ecf65c9 View commit details
    Browse the repository at this point in the history
  2. fix module name

    restevens402 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    82338c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    089d101 View commit details
    Browse the repository at this point in the history
  4. use go 1.22 for now

    restevens402 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e16470f View commit details
    Browse the repository at this point in the history
Loading