How to scrape links to media tweets from a specific user?
How to scrape links to media tweets from a specific user?
For instance, https://twitter.com/elonmusk/media, and the links are formatted like https://twitter.com/elonmusk/status/175 ... 58/video/1. I don't need to download the media files; I just want to obtain the links for all media files.
- martin@rootjazz
- Site Admin
- Posts: 34712
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: How to scrape links to media tweets from a specific user?
Scrape tab
Tweet search
OUTPUT TYPE: details
input: @elonmusk
Search steps: User Media tweets
This will save a CSV of all the details, including the media URL, just copy the column you want
Regards,
Martin
Twitterdub custom search tutorial
- Explains how to build a search and specify how many results per step (optional)
https://www.youtube.com/watch?v=D1W2KnNciPI
Tweet search
OUTPUT TYPE: details
input: @elonmusk
Search steps: User Media tweets
This will save a CSV of all the details, including the media URL, just copy the column you want
Regards,
Martin
Twitterdub custom search tutorial
- Explains how to build a search and specify how many results per step (optional)
https://www.youtube.com/watch?v=D1W2KnNciPI
Re: How to scrape links to media tweets from a specific user?
It seems like the program did not run successfully; there are no results.
Logfile:logs_60781
Logfile:logs_60781
- martin@rootjazz
- Site Admin
- Posts: 34712
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: How to scrape links to media tweets from a specific user?
ok twitter changed how they return the results.
I'll update the format file
I'll update the format file
- martin@rootjazz
- Site Admin
- Posts: 34712
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: How to scrape links to media tweets from a specific user?
The next update will fix this. I shall let you know when it is ready.
Regards,
Martin
Regards,
Martin
- martin@rootjazz
- Site Admin
- Posts: 34712
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: How to scrape links to media tweets from a specific user?
As a test, I set it to retrieve 10,000 results, but the program, after obtaining a small number of results (around 10), switches to a completed status.
logfile:logs_55009
logfile:logs_55009
- martin@rootjazz
- Site Admin
- Posts: 34712
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: How to scrape links to media tweets from a specific user?
My apologies, I only tested the first page, seems the paging had changed and I didn't realise.
Re: How to scrape links to media tweets from a specific user?
No problem, just let me know once you've fixed it.
- martin@rootjazz
- Site Admin
- Posts: 34712
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: How to scrape links to media tweets from a specific user?
done
The next update will fix this. I shall let you know when it is ready.
Regards,
Martin
The next update will fix this. I shall let you know when it is ready.
Regards,
Martin