+
Skip to content

Conversation

guessi
Copy link
Contributor

@guessi guessi commented Apr 22, 2023

  • Removed Firefox version earlier than Jun 1, 2022
  • Removed Google Chrome version earlier than Jun 1, 2022
  • Removed Microsoft Edge version earlier than Jun 1, 2022
  • Removed Opera version earlier than Jan 1, 2023
  • Updated Mac OS version strings (10.2.x ~ 13.3.x)
  • Extended support for Android 12/13
  • Updated build code for Nexus 10
  • Remove legacy devices support
  • Add support for Pixel 7
  • Add support for Pixel 6
  • Add support for Pixel 5
  • Add support for Pixel 4

Fixes: #762

- Removed Firefox version earlier than Jun 1, 2022
- Removed Google Chrome version earlier than Jun 1, 2022
- Removed Microsoft Edge version earlier than Jun 1, 2022
- Removed Opera version earlier than Jan 1, 2023
- Updated Mac OS version strings (10.2.x ~ 13.3.x)
- Extended support for Android 12/13

Fixes: gocolly#762
@samirsss
Copy link

Thank you this is awesome!

@samirsss
Copy link

@asciimoo - Can you please review this and merge it.

@samirsss
Copy link

samirsss commented May 1, 2023

bump

@guessi
Copy link
Contributor Author

guessi commented May 4, 2023

@asciimoo @WGH- I tag you here because I can see most PRs were merged/reviewed by you.

Would you might to spare some time to review this PR, I believe many developer have his/her own fork to get User-agents list up to date, but it would be better to have a way to keep parent repository UA list updated. Before an automation is implemented, I think we should at least to keep it updated manually (at the moment, it's update manually so easily become outdated).

@guessi
Copy link
Contributor Author

guessi commented May 10, 2023

Just made an update again to support more mobile devices.

@guessi guessi force-pushed the update-user-agents-2023 branch from 458b1d6 to dc73588 Compare May 10, 2023 17:41
@guessi guessi changed the title Update User-Agent strings for Firefox/Opera/Chrome/Edge Update User-Agent strings for 2023 May 10, 2023
@samirsss
Copy link

Bump @asciimoo

@WGH-
Copy link
Collaborator

WGH- commented May 17, 2023

I personally think the code is too complicated though, just a static list of strings would be sufficient for the job. But let's be conservative for the time being.

@WGH- WGH- merged commit ea4b1dd into gocolly:master May 17, 2023
@guessi guessi deleted the update-user-agents-2023 branch May 17, 2023 16:28
@guessi
Copy link
Contributor Author

guessi commented May 17, 2023

@WGH- I agree. I simply try to keep the old way before we find a way to keep it update automatically.

Maybe it could be a static list generated by script and trigger monthly/quarterly with CI/CD job, that should be enough?

@WGH-
Copy link
Collaborator

WGH- commented May 19, 2023

I think the main problem is that it may generate some weird unlikely OS version/browser version combinations, which may tip off bot detection algorithms.

For most purposes, just a few common UA strings should be more than enough.

@guessi
Copy link
Contributor Author

guessi commented May 19, 2023

True 😂

That's the reason behind the scene why I introduce new UA strings for mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User Agent update and Edge Browser UA addition

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载